string_clean | R Documentation |
Wrapper around string_strip()
that also removes underscore and repeated whitespace inside a string.
string_clean( string, rm_period = FALSE, keep = NULL, side = c("both", "left", "right") )
string |
A character vector. |
rm_period |
Should ending periods be removed? |
keep |
A single character vector of character(s) to keep. Only retains characters that directly follow the first and last letter. |
side |
Side of the character string to trim. One of |
A character vector.
string_clean("1. Le Loup et l'Agneau. ")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.