Description Usage Arguments Value Examples
This functions uses strsplit
and adds the possibility to split
and keep the delimiter after or before the given split. Or it can split
between two given splits and keep both.
1 |
x |
character vector, each element of which is to be split. Other inputs, including a factor, will give an error. |
split |
character vector (or object which can be coerced to such)
containing regular expression(s) to use for splitting. If empty matches
occur, in particular if |
type |
a character. Either to |
perl |
logical. |
... |
other inputs passed along to |
A list of the same length as x
, the i-th element of which contains
the vector
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.