str_trim {stringr} | R Documentation |
strtrim() removes whitespace from start and end of string; strsquish() removes whitespace at
the start and end, and replaces all internal whitespace with a single space.
str_trim(string,
side = ['left','right']);
A character vector the same length as string.