In Ruby, trying to print out the individual elements of a String is giving me trouble. Instead of seeing each character, I\'m seeing their ASCII values instead:
<
I think each_char or chars describes better what you want.
each_char
chars
irb(main):001:0> a = "0123" => "0123" irb(main):002:0> Array(a.each_char) => ["0", "1", "2", "3"] irb(main):003:0> puts Array(a.each_char) 0 1 2 3 => nil