Description Usage Arguments Author(s)
Similarly to the function trim
from the gdata
package, this function
can be used to remove trailing and leading spaces from character strings. However,
in contrast to trim
, any character can be removed by crop
.
1 | crop(x, char = " ")
|
x |
character string |
char |
character to be removed from beginning and end of |
Martin Hecht, Sebastian Weirich
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.