1Array.remove(3kaya)          Kaya module reference         Array.remove(3kaya)
2
3
4

NAME

6       Array::remove - Return the array created by removing a subarray.
7

SYNOPSIS

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

ARGUMENTS

12       array The array to act on
13
14       pos The starting index
15
16       n The number of elements to remove
17

DESCRIPTION

19       Return  the  array  created by removing a subarray starting at position
20       pos , n elements long.
21
22
23    array = [1,2,3,4,5,6,7];
24    rem = remove(array,3,2);
25    // array = [1,2,3,6,7]
26

AUTHORS

28       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
29       (kaya@kayalang.org). For further information see http://kayalang.org/
30

LICENSE

32       The  Kaya  standard  library  is free software; you can redistribute it
33       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
34       License  (version  2.1  or  any later version) as published by the Free
35       Software Foundation.
36
38       Array.subarray (3kaya)
39       Array.removeAt (3kaya)
40
41
42
43Kaya                             December 2010             Array.remove(3kaya)
Impressum