From: Gennady Bystritsky Date: 2005-09-09T12:50:35+09:00 Subject: Re: implode function? On Sep 8, 2005, at 20:18, Julian Leviston wrote: > Is there are similar thing to the PHP version of implode in ruby? > > I want this to happen... > > z = %w[yeah, cool, mad, awesome, funky] > > x = z.implode x = z.join or simply x = z.to_s > > x > > 'yeahcoolmadeawesomefunky' > > x = z.implode(', ') x = z.join(', ') > > x > > 'yeah, cool, mad, awesome, funky' > > I guess I'll just go write one. > > Julian. > >