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   "))

psichomics documentation built on Nov. 8, 2020, 5:44 p.m.