Pike v8.1 release 6

Method Array.splice()


Method splice

array(mixed) splice(array(mixed) arr1, array(mixed) arr2, array(mixed) ... more_arrays)

Description

Splice two or more arrays.

This means that the returned array has the first element in the first given array, then the first argument in next array and so on for all arrays. Then the second elements are added, etc.

See also

`/(), `*(), `+(), `-(), everynth()