This function splits a list or vector of lines by a pattern but includes only certain entries in the output (all of which must be present in each split string).
1 |
x |
Vector or list of strings (to be fed to 'strsplit') |
pattern |
Character string |
inds |
Numerical vector; entries of each 'strsplit' to keep |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.