Kaya 0.5.3 reference for Array::remove

List of functions and data types in Array

[a] remove([a] array, Int pos, Int n)

Arguments

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]

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya