Split a string at every position of a delimiter, and returns the subset at a specified index.
1 | split_string(string_vector, return_position = 1, sep_char = "_", fixed = TRUE)
|
string_vector |
the string to split |
return_position |
the index of the split string to return |
sep_char |
the delimiter to use to split the string |
fixed |
logical passed to strsplit. If TRUE match split exactly, otherwise use regular expressions. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.