Description Usage Arguments Value Note Examples
Collapse all white space blocks into a single space
1 |
str |
a character or character vector |
A character or character vector with only single spaces
This has a recursive implementation, so should not be used to remove spaces of extreme length
1 | collapseWS("hello world") # "hello world"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.