remove excess whitespace from string
Trim(s, multi = TRUE)
string
logical, indicating whether or not to remove excess whitespace between characters, Default: TRUE
# NOT RUN {
Trim(" Trimmed string")
# [1] "Trimmed string"
Trim(" Trimmed string", FALSE)
# [1] "Trimmed string"
# }
Run the code above in your browser using DataLab