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"