powered by
Remove leading/trailing white space.
Trim(x)
Returns a vector with the leading/trailing white spaces removed.
The text variable.
if (FALSE) { (x <- c(" talkstats.com ", " really? ", " yeah")) Trim(x) }
Run the code above in your browser using DataLab