Parsing a CSV file having multiple records in RUBY

Hi everyone,
  Can anyone help me in parsing a CSV file,with comma seperated multiple
records (multiple columns and multiple rows)....

Can anyone solve my problem,Its urgent

···

--
Posted via http://www.ruby-forum.com/.

http://ruby-doc.org/stdlib/libdoc/csv/rdoc/index.html

http://rubyforge.org/projects/fastercsv/

···

On 12/26/06, Krishna Mundra <krishna_mundra82@rediffmail.com> wrote:

Hi everyone,
  Can anyone help me in parsing a CSV file,with comma seperated multiple
records (multiple columns and multiple rows)....

Krishna Mundra wrote:

Hi everyone,
  Can anyone help me in parsing a CSV file,with comma seperated multiple
records (multiple columns and multiple rows)....

Can anyone solve my problem,Its urgent

require 'faster_csv'

FCSV.foreach('myfile.csv') do |row|
  #work with row here
end

···

--
Posted via http://www.ruby-forum.com/\.