str_contains | R Documentation |
Returns a vector of TRUE
/FALSE
for each element of x
if it contains any element in subs
i.e.
str_contains( c("ben", "tom", "harry"), c("e", "y")) [1] TRUE FALSE TRUE
str_contains(x, subs)
x |
character vector |
subs |
a character vector of substrings to look for |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.