a = 'hello, world' a.each_char { |c| puts c }
input = 'abcdef' chars = input.split('') puts chars.length puts chars[2] puts chars.each { |c| puts c }