Extracted from Pike v7.3 release 14 at 2002-02-15.
pike.roxen.com
[Top]
Array

Method Array.everynth()


Method everynth

array(mixed) Array.everynth(array(mixed) a, void|int n, void|int start)

Description

Return an array with every n:th element of the array a.

If n is zero every other element will be returned.

See also

Array.splice, `/