split

Splits the array at index and expands it to make room for length elements by shifting everything past index to the right.

pure nothrow
void
split
(
T
)
(
ref Array!T array
,
size_t index
,
size_t length
)

Parameters

array
Type: Array!T

the array to split.

index
Type: size_t

the index to split the array from.

length
Type: size_t

the number of elements to make room for starting at index.

Meta