Array.rest()

From ZCubes Wiki
Jump to navigation Jump to search


Array.rest(Start, Count)

Remove the part of the array from Start (as well as Count number of elements from Start), and provide the rest of the elements.

Note: Start is treated as zero indexed.

1..10.rest(3,2)

1
2
3
6
7
8
9
10