str_locate_nth | R Documentation |
See strex::str_locate_nth()
.
str_locate_nth(string, pattern, n) locate_nth(string, pattern, n) str_locate_first(string, pattern) locate_first(string, pattern) str_locate_last(string, pattern) locate_last(string, pattern)
string |
A character vector. |
pattern |
The pattern to look for. The default interpretation is a regular expression, as described in stringi::about_search_regex. To match a without regular expression (i.e. as a human would), use
coll(). For details see |
n |
A vector of integerish values. Must be either length 1 or
have length equal to the length of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.