ArrayErase(
array:array,
[int:index1],
[int:index2]
)
→ int
Erases the specified range of values from the array.
If neither index is provided all values are erased. If index2 isn't provided all values from the specified index to the end of the array are erased.
Examples:
arr = ArrayCreate(1,2,3,5,8,13,21);
ArrayErase(arr, 2, 4);
Output(arr);
-> {1, 2, 13, 21}
See also:
ArrayCreate
ArrayCopy
ArrayGet
ArrayPop
ArrayPush
ArrayRev
ArraySet
ArraySort