From: Chris Ashton Date: 2008-10-16T20:35:28+09:00 Subject: Re: newbie to ruby, search an array thanks for the help, i really appreciate it, worked a treat I also need to do this: array[count + 1] array[count] returns x but array[count + 1] returns nil when i should be y am i totally wrong or is it something else? thanks -- Posted via http://www.ruby-forum.com/.