Kev Jackson wrote:
> Robert Klemme wrote:
> 
>> 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
>>
> or even
> 
> a.scan(/./) { |c| p c }

We had that already: your version ignores newlines. :-)

	robert