View source: R/str_remove_non_alphanum.R
str_remove_non_alphanum | R Documentation |
Remove non-alphanumeric characters from a string. Optionally remove spaces.
str_remove_non_alphanum(string, keep_spaces = TRUE)
string |
A character string. |
keep_spaces |
Don't remove spaces. |
remove_non_alphanum("222-44-6666") [1] "222446666" str_remove_non_alphanum("Devante Smith-Pelly", keep_spaces = F) [1] "DevanteSmithPelly"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.