Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.netfront.net!not-for-mail From: Wanja Gayk Newsgroups: comp.lang.java.programmer Subject: Re: for :each style question Date: Sat, 17 Dec 2011 12:31:23 +0100 Organization: Netfront http://www.netfront.net/ Lines: 24 Message-ID: References: <30fdd7tlkkejm29ufduhc9nnfk7uu3c6h0@4ax.com> <2pehw6alhc.fsf@shell.xmission.com> NNTP-Posting-Host: 93.130.5.28 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: adenine.netfront.net 1324121484 40903 93.130.5.28 (17 Dec 2011 11:31:24 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Sat, 17 Dec 2011 11:31:24 +0000 (UTC) User-Agent: MicroPlanet-Gravity/3.0.4 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10823 In article <2pehw6alhc.fsf@shell.xmission.com>, jjanney@shell.xmission.com says... > import org.apache.commons.lang.StringUtils; > > String joinedObjects = StringUtils.join(objects, ", "); > > Not to go all Lew on you here, but the Apache Commons stuff is worth a > second look. For sure, and I use it everywhere I see it. Some customers though do not use the library and do not intend to do so. Kind regards, Wanja -- ..Alesi's problem was that the back of the car was jumping up and down dangerously - and I can assure you from having been teammate to Jean Alesi and knowing what kind of cars that he can pull up with, when Jean Alesi says that a car is dangerous - it is. [Jonathan Palmer] --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---