Method Parser.C.split()
- Method split
array
(string
) split(string
data
,void
|mapping
(string
:string
)state
)- Description
Splits the
data
string into an array of tokens. An additional element with a newline will be added to the resulting array of tokens. If the optional argumentstate
is provided the split function is able to pause and resume splitting inside #"" and /**/ tokens. Thestate
argument should be an initially empty mapping, in which split will store its state between successive calls.