From: Steel Steel Date: 2011-01-25T16:18:04+09:00 Subject: Re: Obtain data from .csv does you CSV file actually really have those square brackets?? If yes, you can strip them off first f = File.open("ActionPlan.csv", "r") f.each_line { |line| line = line.gsub!(/^\[\"|\"\]$/,"") fields = line.split(',') } i am not sure why you are stripping of double quotes from each field, when the sample csv you supplied doesn't tally with what you are doing. -- Posted via http://www.ruby-forum.com/.