From: Louis J Scoras Date: 2006-12-01T06:20:17+09:00 Subject: Re: simple question, looping through each character in a string On 11/30/06, dblack@wobblini.net wrote: > There's an each_byte iterator. It gives you ASCII values, so you have > to convert them: > > word = "picture" > word.each_byte {|b| puts b.chr } In the immortal words of Homer Simpson, "Doh!" I've always thought that that method never existed: always looked for a Int#to_char. Don't I feel dumb now =) -- Lou.