str_trim: Taken from trimws
for reasons of compatibility with previous R versios.
Description
Taken from trimws
for reasons of compatibility with previous R versios.
Usage
str_trim(x, which = c("both", "left", "right"))
Arguments
- x
a string to trim.
- which
how to trim the string.