Standardize whitespace in strings
standardize_whitespace(variable)
a character string.
A list of one vector of character strings.
# NOT RUN { standardize_whitespace(" My spacebar key is broken. ") # }
Run the code above in your browser using DataLab