Description Usage Value Author(s) Examples
Removes white space from both ends of this string. The following character
values are all white spaces:
"\t"
(0x09 - HORIZONTAL TABULATION),
"\n"
(0x0A - NEW LINE),
"\v"
(0x0B - VERTICAL SPACE),
"\f"
(0x0C - FORM FEED),
"\r"
(0x0D - CARRIAGE RETURN), and
" "
(0x20 - SPACE).
1 2 | ## S3 method for class 'String'
trim(this, ...)
|
Returns this string, with white space removed from the front and end.
Henrik Bengtsson (http://www.braju.com/R/)
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.