Reference: splice
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:38:12Z

#

| Chapter 5 Function Reference |

## splice

    splice @array, pos, [n], [list]

Removes n number of elements from @array starting at position pos, replacing them with the elements of list, if provided. The function returns the elements removed from the array. The array grows or shrinks as necessary. If n is omitted, the function removes everything from pos onward.

Reference: sort |  | Reference: split