Remove leading and/or trailing whitespace from character strings.
a character vector
a character string specifying whether to remove both
leading and trailing whitespace (default), or only leading
For portability, ‘whitespace’ is taken as the character class
[ \t\r\n] (space, horizontal tab, line feed, carriage return).
1 2 3 4 5
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.