Array.remove3kaya
Return the array created by removing a subarray.
Usage
[a] remove( [a] array, Int pos, Int n )
Arguments
array The array to act on
pos The starting index
n The number of elements to remove
Overview
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]; rem = [4,5]
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.