itérer sur la chaîne Ruby
a = 'hello, world'
a.each_char { |c|
puts c
}
Fustavo Gring
a = 'hello, world'
a.each_char { |c|
puts c
}
$ ruby examples/ruby/iterate_characters_split.rb
6
c
a
b
c
d
e
f