powered by
Detect patterns at the beginning or end of strings
str_starts(string, pattern, negate = FALSE)str_ends(string, pattern, negate = FALSE)
str_ends(string, pattern, negate = FALSE)
a logical vector
Input string
Pattern to match
If TRUE, return non-matching elements
TRUE
Guangchuang Yu
Other str-utils: str_detect(), str_extract(), str_wrap()
str_detect()
str_extract()
str_wrap()