From: 7stud -- Date: 2007-11-14T04:28:50+09:00 Subject: Re: reading a column formatted data 7stud -- wrote: > > FasterCSV.foreach('data.txt', :headers =>true) do |row| I forgot to add that if your file doesn't use commas as the separator between columns, you have to specify the separator, which in your case looks like it's a tab(\t): FasterCSV.foreach('data.txt', :headers =>true, :col_sep =>"\t") -- Posted via http://www.ruby-forum.com/.