home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


SPLICE


SPLICE 



this

, 

offset

, 

length

, 

list


Performs the equivalent of a splice on the array. Returns a list of the original length elements at the specified offset. The arguments are:

offset

Optional. Defaults to zero; if negative, counts back from the end of the array.

length

Optional. Defaults to the rest of the array.

list

May be empty.