trim {genArise} | R Documentation |
Extract white spaces at the begining or end of a word.
trim(word)
word |
A string of characters posibly with white spaces at the beging or end of the string. |
Returns a string of characters, with leading and trailing whitespace omitted.
trim(" This is a String ") ## return [1] "This is a String"