From: James Edward Gray II Date: 2006-05-29T13:08:53+09:00 Subject: Re: FasterCSV RCR? On May 28, 2006, at 10:39 PM, Daniel N wrote: > Thanx Logan, > > Sorry I should have been a bit clearer. I read those but what I > had trouble > with was when I receive the csv file from a web form. It gives me a > StringIO object and I don't know what to do with it. > > Any help is greatly appreciated. FasterCSV handles StringIO objects just fine: >> require "stringio" => true >> require "fastercsv" => true >> data = StringIO.new(%Q{1,2,"3,4",5}) => # >> FasterCSV.parse(data) => [["1", "2", "3,4", "5"]] Hope that helps. James Edward Gray II