From: "Jesús Gabriel y Galán" Date: 2012-09-05T02:35:16+09:00 Subject: Re: faster CSV process only one row! On Tue, Sep 4, 2012 at 7:31 PM, ajay paswan wrote: > Robert Klemme wrote in post #1074649: >> On Tue, Sep 4, 2012 at 3:25 PM, ajay paswan >> wrote: >>> Suppose I have a string s, which is basically a CSV, how can I get it as >>> array using fastercsv? Or any simple way? >> >> How about looking at the documentation? >> >> http://rdoc.info/stdlib/csv/CSV >> >> robert > > I seriously went through that.. but may be I dont have patience or I am > not able to follow.. seriously I want to follow it.. give me any tips to > follow it nicely! Please go through it once more. There's a section called "From a String", with two subsections: "A line at a time", and "All at once" with two ways of parsing a String that contains CSV. I think the one you want is "All at once", which will return an array of arrays. Jesus.