powered by
Detect presence/absence of a match
str_detect(string, pattern, negate = FALSE)
Logical vector
Input string
Pattern to look for
If TRUE, invert the result
TRUE
Guangchuang Yu
Other str-utils: str_extract(), str_starts(), str_wrap()
str_extract()
str_starts()
str_wrap()