From: Joel VanderWerf Date: 2008-04-03T05:17:53+09:00 Subject: Re: Real Quick Question... Jeff Miller wrote: > Hello, > Let's say I have an array like this: > > @name_array = ["john", "t.", "smith"] > > how can I get the first and LAST entries? [@name_array.first, @name_array.last] or @name_array.values_at(0,-1) -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407