From: William James Date: 2006-12-03T05:55:08+09:00 Subject: Re: comma separating output from array.to_s jansenh wrote: > hi comp.lang.ruby > > what is the ruby-way of comma separating the output from array.to_s? > > [I have been playing with ruby for some time now, but I often find > myself solving problems in a Java/C# manner... That's me, a > non-idiomatic ruby programmer... ] > > regards, Henning >> [2,4,6,8].join(',') => "2,4,6,8"