Description Usage Arguments Value Examples
Trim whitespace from start and end of string
1 | trim(input, side = "both")
|
input |
input character vector |
side |
side on which whitespace is removed (left, right, or both) |
character vector with leading and trailing whitespace removed
1 2 3 4 | ## Not run:
trimString("\n\nString with trailing and leading white space \t")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.