split

Split the provided array wherever a pattern instance is found, and return the resultant segments. The pattern is excluded from each of the segments.

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

inout(T)[][]
split
(
T
)
(
inout(T)[] src
,
const(T)[] pattern
)

Meta