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 Sept. 8, 2022, 5:08 p.m.