str_trim {stringstatic} | R Documentation |
Remove whitespace
Description
Dependency-free drop-in alternative for stringr::str_trim()
.
Usage
str_trim(string, side = c("both", "left", "right"))
Arguments
string |
Input vector. Either a character vector, or something coercible to one. |
side |
Side on which to remove whitespace:
|
Value
A character vector the same length as string
.
Source
Adapted from the stringr package.
[Package stringstatic version 0.1.2 Index]