powered by
Trim space of a string.
strstrip(string, side = c("both", "left", "right"))
A character vector.
Which side of the string to be trimed, 'both', 'left' or 'right'.
Trimed vector.
# NOT RUN { strstrip(c("\taaaa ", " bbbb ")) # }
Run the code above in your browser using DataLab