Method String.SplitIterator()->create()


Method create

String.SplitIterator String.SplitIterator(StringType buffer, int|array(int)|multiset(int) split_set, int|void flags, function(:StringType|zero)|void feed)

Parameter buffer

The string to split.

Parameter split_set

The character or characters to split on.

Parameter flags

Skip empty elements if set.

Parameter feed

Callback function that is called once the buffer is used up and the SplitIterator wants more data.