Return to Snippet

Revision: 3209
at June 18, 2007 14:28 by thebugslayer


Initial Code
list = [1,2,3,4,5,6,7,8,9,10]
list[1..8]
list[(1..8).step(2)]
list[[1, 3, 5, 7]]

Initial URL


Initial Description


Initial Title
slicing, range and step

Initial Tags


Initial Language
Groovy