powered by
Detect the presentce/absence of a match
str_detect(string, pattern, negate = FALSE)
logical vector
input string
pattern to look for
if TRUE, inverts the resulting boolen vector
Guangchuang Yu