Description Usage Arguments Value
Remove leading or trailing white spaces from a character string
1 | trimspaces(x, type = c("both", "leading", "trailing"))
|
x |
The character string to process |
type |
Specifies whether to remove the leading, trailing or both white spaces. |
Return the string provided without leading or trailing white spaces.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.