Trim {bfw} | R Documentation |
remove excess whitespace from string
Trim(s, multi = TRUE)
s |
string |
multi |
logical, indicating whether or not to remove excess whitespace between characters, Default: TRUE |
Trim(" Trimmed string")
# [1] "Trimmed string"
Trim(" Trimmed string", FALSE)
# [1] "Trimmed string"