trim {x.ent} | R Documentation |
Remove whitespace from both sides of a string
Description
Remove all spaces from text except for single spaces between words
Usage
trim(x)
Arguments
x |
is a string that we want to delete whitespace from both sides |
Examples
str = " Hello World! "
trim(str)
[Package x.ent version 1.1.7 Index]