----- Original Message ----- From: "Josh Huber" <huber / alum.wpi.edu> To: "ruby-talk ML" <ruby-talk / ruby-lang.org> Sent: Thursday, July 11, 2002 8:58 AM Subject: Re: spliter of for...each: looping > David Alan Black <dblack / candle.superlink.net> writes: > > > I like each_with_nindex too... but show me an example of this comma > > problem that isn't better solved with #join and I'll put the price > > of a beer in your Paypal account :-) > > Heh, that's what I was thinking -- what about #join? :) > > %w(H A L).join(",") > => "H,A,L" Hmm? What? Oh, never mind. Hal