Split strings using strsplit in a way that can easily be used within sapply
1 | splitter(string, delimiter, position, as.string = 0)
|
string |
The string to be split |
delimiter |
What to use to split the string |
position |
Which part of the string to retain. Only one piece can be retained To retain multiple pieces, do a separate function call for each piece |
as.string |
0 Result will be numeric, 1 Result will be string |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.