trim | R Documentation |
Inspired by the Excel function with the same name.
trim(x)
x |
a vector of strings |
x
without any leading or trailing whitespace.
trim(' leading spaces')
trim('trailing spaces ')
trim(' leading and trailing spaces ')
trim('\n\r\t Other kinds of whitespace \t\n\r')
trim("\n Doesn't affect internal whitespace ")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.