| str_starts | R Documentation |
Detect patterns at the beginning or end of strings
str_starts(string, pattern, negate = FALSE)
str_ends(string, pattern, negate = FALSE)
string |
Input string |
pattern |
Pattern to match |
negate |
If |
a logical vector
Guangchuang Yu
Other str-utils:
str_detect(),
str_extract(),
str_wrap()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.