View source: R/remove_strings.R
remove_strings | R Documentation |
Uses stri_detect_regex.
remove_strings(.str, expunge, ignore_case = FALSE)
.str |
character vector |
expunge |
character vector of strings to be removed |
ignore_case |
logical indication whether or not to be case specific. |
strngs <- c("abc", "d", "E", "Fh")
expunge <- c("abc", "D", "E")
remove_strings(strngs, expunge, ignore_case = TRUE)
remove_strings(strngs, expunge, ignore_case = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.