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.
See Implementation
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.