[a] remove([a] array, Int pos, Int n)
Arguments
array: The array to act onpos: The starting indexn: The number of elements to remove
Usage
Return the array created by removing a subarray starting at position pos, n elements long.
array = [1,2,3,4,5,6,7];
rem = remove(array,3,2);
// array = [1,2,3,6,7]