after some inspiration from Luc I was able to come up with this:

textlist = ["Apple", "Orange", "Lemon", "Grape", "Orange",

(0..textlist.length-1).select {|i| textlist[i] == "Orange"}[1]



-- 
Posted via http://www.ruby-forum.com/.