From: Robert Klemme Date: 2006-03-20T17:43:49+09:00 Subject: Re: iterate chars in a string Lyndon Samson wrote: > a="123" > > 0.upto(a.length) { |i| puts a[i..i] } Alternatively: a.length.times {|i| puts a[i].chr} Many roads to Rome... robert