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 Array!T

the array to split.

index size_t

the index to split the array from.

length size_t

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

Suggestion Box / Bug Report