despace: A one-line function to strip whitespace from its argument.

View source: R/string.utilities.R

despaceR Documentation

A one-line function to strip whitespace from its argument.

Description

A one-line function to strip whitespace from its argument.

Usage

despace(s)

Arguments

s

a character vector.

Examples

stopifnot(despace("\n \t  ")=="")

statnet.common documentation built on Oct. 6, 2024, 5:06 p.m.