generic splitting strings
text_split defaul method
1 2 3 4 | text_split(string, pattern, vectorize = FALSE, ...)
## Default S3 method:
text_split(string, pattern, vectorize = FALSE, ...)
|
string |
text to search through |
pattern |
regex to search for |
vectorize |
should function be used in vectorized mode, i.e. should a pattern with length larger than 1 be allowed and if so, should it be matched to lines (with recycling if needed) instead of using on element on all lines |
... |
further arguments passed through to grep |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.