From: Vin Raja Date: 2007-07-19T16:12:28+09:00 Subject: Re: Array : each_with_index Thanks All, I got the nuance. But my problem just got a bit more messier. have a look down here: r = ['KLP','OGN' ] msg =<ruby try.rb (1) KLP (2) OGN Found 2 orders KLPOGN >Exit code: 0 And this time I also know why, thanks again. But what I actually wanted was this sort of output: >ruby try.rb Found 2 orders (1) KLP (2) OGN >Exit code: 0 Any Help! Thanks raja -- Posted via http://www.ruby-forum.com/.