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.

T[]
head
(
T
S
)
(
T[] src
,,
out T[] tail
)

Meta