str_keep | R Documentation |
Keep only a type of characters in a string.
str_keep(string, keep = c("text", "numbers", "special"))
string |
A character vector |
keep |
A character single value (default = 'text'), that will be the type of character to keep |
The argument 'keep' can be one of: 'text', 'number', 'special'.
A character vector.
string <- "1ABCF45Z89$$%#"
str_keep(string,keep = "text")
str_keep(string,keep = "numbers")
str_keep(string,keep = "special")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.