Remove repeating whitespace characters (spaces, tabs, line breaks) from s and turns tabs & line breaks into spaces.
1 2 3 4 5 6 7 8 9 10 | strip_multiple_spaces(s, ...)
## S3 method for class 'character'
strip_multiple_spaces(s, ...)
## S3 method for class 'list'
strip_multiple_spaces(s, ...)
## S3 method for class 'data.frame'
strip_multiple_spaces(s, text, ...)
|
s |
A Character string or data.frame. |
... |
Any other options. |
text |
bare name of text column. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.