| trim.whitespace {plan} | R Documentation |
Trim leading and trailing whitespace from character
strings. Used by read.gantt and
read.burndown.
trim.whitespace(x)
x |
a character string, or vector of character strings. |
As x, but with leading and trailing space removed
Dan Kelley
library(plan)
x <- c(" hellow there", "ba bye ", " buddy ")
print(x)
print(trim.whitespace(x))