ArraySplice
Last updated
Was this helpful?
Last updated
Was this helpful?
Modifies an array by removing elements and adding new elements.
It starts from the index, removes as many elements as specified by elementCountForRemoval, and puts the replacements starting from index position.
array
modifiablearray
true
The array to splice
index
Integer
true
The initial position to remove or insert from
elementCountForRemoval
Integer
false
The number of elemetns to remove
0
replacements
array
false
An array of elements to insert