From: Thomas Adam Date: 2008-04-03T05:20:56+09:00 Subject: Re: Real Quick Question... On 02/04/2008, 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? IE:, I don't want the middle >> [1,2,3].first => 1 >> [1,2,3].last => 3 >> Or have I missed something? -- Thomas Adam