Description Usage Arguments Value See Also Examples
View source: R/short_generic.R
Removes white-space before and after each string
in a vector of strings. There is a base R function trimws
that should be preferred. The trim
function is being maintained
here strictly for backward compatibility and to avoid breaking
code.
1 | trim(x)
|
x |
a character vector |
A vector x
of strings with white-space removed
trimws
for a base R function
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.