Description Usage Arguments Value Note Author(s) See Also Examples
split a character vector by a regular expression
1 2 | txt %/~% rx
|
txt |
text to manipulate |
rx |
regular expression |
A character vector. For convenience, this function does not return a list
as strsplit
does.
%/~%
uses strsplit
to split the strings. Logical arguments
of strsplit
can be indirectly modified using the operators.strsplit
option declared as part of this package. For example, it uses perl regular expressions
by default. See %but%
for a description.
Romain Francois <francoisromain@free.fr>
grep, gsub
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.