From: Mk 27 Date: 2009-05-25T05:47:19+09:00 Subject: Re: Inserting a counter into a .each loop Tim Hunter wrote: > What's wrong with > > x = 0 > string.each_byte do |f| > x += 1 > end Clearly my method is better here Tim. -- Posted via http://www.ruby-forum.com/.