From: Mark Mr Date: 2007-12-13T01:01:50+09:00 Subject: Re: While statements in ruby Hm how did my question get there? I'm a little confused :P Anyway thanks to the first poster, that method worked great. I tried each_with_index before i posted this and for some reason it was giving me strange numbers instead of the corresponding values. -- Posted via http://www.ruby-forum.com/.