tidy_string | R Documentation |
Remove redundant white spaces and new lines
tidy_string(s)
s |
A string. |
The string, with new lines and excess white spaces removed. Excess white spaces refer to both trailing and leading as well as multiple white spaces next to each other.
magutils:::tidy_string(" some string with many white spaces. ")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.