From: Kvetch Kvetch Date: 2009-12-14T12:03:36+09:00 Subject: Re: gsub help yermej wrote: > On Dec 13, 2:34�pm, Kvetch Kvetch wrote: >> I am reading in a file that is basically a csv file but the delimiter is >> spaces. �I am also using fastercsv to parse the file into an array. > > Check out the docs for fastercsv - http://fastercsv.rubyforge.org/ - > it looks like the FasterCSV class has default values for separator and > quote characters. You should be able to change those to ' ' & '^', > respectively. Thanks yermej. I wasn't using the fastercsv separator because I was performing some actions on the data before I read it in with fastercsv. In the end it probably doesn't matter but thank you for your help. -- Posted via http://www.ruby-forum.com/.