grepl_multi_pattern | R Documentation |
Run grepl on a vector of patterns.
grepl_multi_pattern(pattern, x, ...)
pattern |
One or more patterns (see grepl) |
x |
A string vector |
... |
Passed to grepl |
A boolean vector if any pattern is matched
gsub_multi_pattern
grepl_multi_pattern(pattern=c("A", "B", "C"), LETTERS)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.