trimWhitespace: Trims whitespace from a word

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Trims whitespace from a word

Usage

1

Arguments

word

Character to trim

Value

Character without whitespace

Examples

1
2
3
psichomics:::trimWhitespace("    hey   there     ")
psichomics:::trimWhitespace(c("pineapple    ", "one two three", 
                              " sunken    ship   "))

nuno-agostinho/psichomics documentation built on Nov. 1, 2017, 3:18 p.m.