Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
String
String.SplitIterator

Method String.SplitIterator()->create()


Method create

void String.SplitIterator(string buffer, int|array(int)|multiset(int) split_set, int|void flags, function(:string)|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.