From: Kamarulnizam Rahim Date: 2011-01-12T07:27:40+09:00 Subject: Re: Read csv file. Beginner's HELP!! Thanks James, The error gone. But new error came out: C:/Ruby192/lib/ruby/1.9.1/csv.rb:1198:in `delete': can't convert Symbol into String (TypeError) from C:/Ruby192/lib/ruby/1.9.1/csv.rb:1198:in `foreach' from C:/Ruby192/new_main.rb:9:in `
' I think it is because of the symbol in my csv file that cant be converted. How to solve this so that i can read the whole document? Please find the attached csv file. One more thing, do think it is better for me to use the standard csv library or faster csv library? As for my purpose to obtain data from csv file and convert it into YAML file. Thank you so much for a very quick reply. Appreciate that Nizam Attachments: http://www.ruby-forum.com/attachment/5715/test_q.csv -- Posted via http://www.ruby-forum.com/.