From: "Florian Groß" Date: 2005-12-21T06:28:46+09:00 Subject: Re: iterate chars in a string Logan Capaldo wrote: > irb(main):015:0> str.scan(/./) do |character| > irb(main):016:1* p character > irb(main):017:1> end > "H" > "e" > "l" > "l" > "o" > "W" > "o" > "r" > "l" > "d" > > Where'd my newlines go? :( Heh, good point. Thanks for mentioning this. I think this might be quite a common pit fall. Time to grep my code and see if this could possibly cause trouble anywhere... -- http://flgr.0x42.net/