Description Usage Arguments Value See Also Examples
Trim elements
1 |
x |
a character vector |
which |
a character string specifying whether to remove both
leading and trailing whitespace (default), or only leading
( |
A vector with trimmed strings
Other string-utils: blanks,
dup, pad,
replace_ext, split_path,
strip_ext, strsplitN,
wrap
1 2 | x <- " abc\n\t"
trim(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.