Christophe Poucet wrote:
> Hello
>
> You can try the following:
>
> fields = ["a", "b", "c", "d", "e", "f"]
> new_fields =[]
> fields.each_index {|i| new_fields << fields[i] if i %2 == 0}
>
> Cheers,
> Christophe

http://redhanded.hobix.com/inspect/hopscotchingArraysWithFlipFlops.html