R/utilities.R
str_contains.Rd
Returns a vector of TRUE/FALSE for each element of x if it contains any element in subs
TRUE
FALSE
subs
i.e.
str_contains( c("ben", "tom", "harry"), c("e", "y")) [1] TRUE FALSE TRUE
str_contains(x, subs)
character vector
a character vector of substrings to look for