Description Usage Arguments Value Examples
Trims leading and trailing whitespaces from strings or character vectors.
1 | trim(x)
|
x |
Character vector or string, or a list or data frame with such vectors. Function is vectorized, i.e. vector may have a length greater than 1. See 'Examples'. |
Trimmed x
, i.e. with leading and trailing spaces removed.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.