From: "Jan E." Date: 2012-06-13T20:12:47+09:00 Subject: Re: string.chars.to_a question Hi, Michael Sung wrote in post #1064374: > This works fine for letters, but does not seem to put " (quotation > marks) into an array. Are you sure? When I write string = 'ab"c' chars = string.chars.to_a puts char I get the correct result: a b " c Or do you mean the surrounding quotes of string literals in Ruby? Those are *not* characters of the string. They only exist for the parsing process. -- Posted via http://www.ruby-forum.com/.