Pablo

slice(begin, [end])

Slices the collection from the begin position, to the end position. If end is omitted, it is assumed to be the last element in the collection. This works the same as the Array.slice method.

If either begin or end are negative numbers, they are counted backwards from the end of the collection.

var svg = Pablo(demoElement).svg({height:100}),
    collection = Pablo(['circle', 'line', 'rect']);

// Returns the <line> element
collection.slice(1, 2)
    .attr({y1:100, x2:100, stroke:'red', 'stroke-width':2})
    .appendTo(svg);
Painting is just another way of keeping a diary.
Pablo Picasso