Locates the first occurrence of delim in str starting with strstart.
Skips the delimiter which str starts with. Note that the result is correct only if str really starts with a delimiter.
Delimiter character. Must be specified in the constructor but may be changed at any time, even during iteration.
Set to true to collapse consecutive delimiter occurrences to a single one to prevent producing empty segments.
Set to true to do a 'foreach' cycle with the remaining content after the last delimiter occurrence or when no delimiter is found.
Union of the supported 'foreach' iteration delegate types
Sets the content string to split on next iteration.
'foreach' iteration over string slices between the current and the next delimiter. n() returns the number of 'foreach' loop cycles so far, remaining() the slice after the next delimiter to the content end. If no delimiter was found, n() is 0 after 'foreach' has finished and remaining() returns the content.
'foreach' iteration over string slices between the current and the next delimiter. n() returns the number of 'foreach' loop cycles so far, remaining() the slice after the next delimiter to the content end. If no delimiter was found, n() is 0 after 'foreach' has finished and remaining() returns the content.
Locates the first delimiter occurrence in str starting from strstart.
Locates the first delimiter occurrence in the current content string starting from contentstart.
Skips initial consecutive occurrences of the current delimiter in the currently remaining content.
Searches the next delimiter.
'foreach' iteration over string slices between the current and the next delimiter.
Skips the delimiter which str starts with. The return value is at most str.length. It is assured that str starts with a delimiter so a subclass may return an undefined result otherwise. Additionally, a subclass is encouraged to use an 'in' contract to ensure str starts with a delimiter and/or is long enought to skip a leading delimiter.
Trims white space from str.
Splits a string by occurrences of a delimiter character