Takes substring between matched strings. Avoids dependency on stringr package.
1 | str_within(string, pattern = "^(structure\\()|(, \\.Names)")
|
string |
A string. String from which substring is extracted. |
pattern |
A regular expression that matches the beggining and end of a substring |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.