R/trim.R
trim.Rd
Trim both leading and trailing whitespaces from string.
trim(x)
A text string.
Cleaned string.
trim(" hello ") #> [1] "hello"