Siep Korteling wrote: > yermej wrote: >> On Dec 13, 2:34pm, Kvetch Kvetch <kve... / gmail.com> 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. > > Exactly. Like this: > > ar=FasterCSV.read( path_to_file,{ :col_sep => " ", :quote_char =>'^' }) > > hth, > > Siep Thanks Siep. I got it to work nicely. I appreciate you and Yernej's help -- Posted via http://www.ruby-forum.com/.