Hello,

Is there a way to capture " (quotation marks) when you use the
chars.to_a command?

For example:

string = string.chars.to_a
length = string.length
  newString = Array.new

  while length >= 0
    newString << [string[length]]
    length = length - 1

  end


This works fine for letters, but does not seem to put " (quotation
marks) into an array.

-- 
Posted via http://www.ruby-forum.com/.