From: Gregory Brown Date: 2006-12-03T05:57:15+09:00 Subject: Re: comma separating output from array.to_s On 12/2/06, jansenh wrote: > hi comp.lang.ruby > > what is the ruby-way of comma separating the output from array.to_s? some_array.join(",") but if you are thinking of doing CSV output, you should not use a naive approach like this, since it will likely produce malformed CSV when dealing with quoted text. There is the CSV standard library, or if you'd like better performance and a cleaner interface, FasterCSV available from RubyForge.