delimiters

Iterator to isolate text elements.

Splits the provided array wherever a delimiter-set instance is found, and return the resultant segments. The delimiters are excluded from each of the segments. Note that delimiters are matched as a set of alternates rather than as a pattern.

Splitting on a single delimiter is considerably faster than splitting upon a set of alternatives.

foreach (segment; delimiters ("one,two;three", ",;"))
         ...

Has to be templated to propagate mutable/const input qualifier to return struct.

DelimFruct!T
delimiters
(
T
)

Meta