Extracted from Pike v8.0 release 164 as of 2016-04-05.
   

Method Array.everynth()


Method everynth

array(mixed) 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

splice(), `/()