From: Lloyd Linklater Date: 2008-11-04T23:23:12+09:00 Subject: Re: replace spaces with commas? Henrik --- wrote: > Just remember that if you split on both comma and space, you lose the > reason many have for using commas in the first place: multi-word tags, > like "foo bar, baz". I would think that you might also want to take care for csv files that have string fields. e.g. "here we go","something here","commas, inside a field",123 Differentiating internally is extra work. I am not sure if it matters in your case as your example may well be greatly pared down, but caveat emptor. -- Posted via http://www.ruby-forum.com/.