head

Split the provided array on the first pattern instance, and return the resultant head and tail. The pattern is excluded from the two segments.

Where a segment is not found, tail will be null and the return value will be the original array.

inout(char)[]
head
(
inout(char)[] src
,,
out inout(char)[] tail
)

Meta