input = 'abcdef' chars = input.split('') puts chars.length puts chars[2] puts chars.each { |c| puts c }