Cory Chamblin
9/9/2006 3:52:00 AM
On 9/8/06, Julio Capote <jcapote@gmail.com> wrote:
> ... I'd
> really appricieate it if someone can post a link to a tutorial or a
> quick code sample detailing how to tell csv to use tabs as a delimiter.
I have never used it prior to trying this for you (so YMMV), but
(AFAICT) if you need to use the CSV library included with Ruby, the
third parameter in CSV#open is the delimiter, e.g.:
CSV.open('whatever.csv','r',"\t").each do |field|
puts field
end
Hope this helps,
Cory