From: "David A. Black" Date: 2005-09-13T06:48:18+09:00 Subject: Re: implode function? Hi -- On Fri, 9 Sep 2005, 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] See the other answers for the answer(s), but also, note that the elements in that array are: "yeah," "cool," "mad," "awesome," "funky" i.e., the commas are part of the words (which I think isn't what you wanted :-) David -- David A. Black dblack@wobblini.net