delimit

Split 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.

Note that the src content is not duplicated by this function, but is sliced instead.

inout(char)[][]
delimit
(
inout(char)[] src
,)

Meta