extract_string | R Documentation |
extract strings from a vector using regex, analog to stringr::str_extract
extract_string(string, pattern, ...)
string |
Input vector. A character vector. |
pattern |
Regex pattern to look for |
... |
passed on to |
A character vector with matches only, possibly of different length as
string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.