Hi -- On Fri, 17 Mar 2006, gparsons wrote: > > deck = deck[x..-1] + deck[0...x] # notice differing amounts of > dots > > I'd never seen this before so i decided to give it a try. Without the > three dots on the righthand side it would be inclusive right? As in > you'd get the xth element twice. Yes, that's right. David -- David A. Black (dblack / wobblini.net) Ruby Power and Light, LLC (http://www.rubypowerandlight.com) "Ruby for Rails" chapters now available from Manning Early Access Program! http://www.manning.com/books/black