condense_spaces | R Documentation |
Trim and remove double spaces from the input strings.
condense_spaces(x)
x |
A vector |
Beginning, double and ending spaces are also removed from the strings.
A vector with extra spaces removed
Leo Lahti leo.lahti@iki.fi
See citation("bibliographica")
x2 <- condense_spaces(" a b cd ") # "a b cd"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.