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})
=> #<StringIO:0x6ce300>
 >> FasterCSV.parse(data)
=> [["1", "2", "3,4", "5"]]

Hope that helps.

James Edward Gray II