next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
home
separateRegexp(String,String) -- separate a string into pieces, with separators determined by a regular expression
Synopsis
Usage:
separateRegexp(sep,str)
Function:
separateRegexp
Inputs:
sep
,
a
string
, a regular expression
str
,
a
string
, a string to be separated
Outputs:
a list of substrings consecutively extracted from
str
, with separators recognized by
sep
Description
i1 : separateRegexp("-", "asdf-qwer-dfadf") o1 = {asdf, qwer, dfadf} o1 : List