Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.programmer Subject: Re: StringBuilder Difficulties Date: Wed, 29 Jun 2011 18:32:13 -0700 Organization: Canadian Mind Products Lines: 24 Message-ID: <6akn07lreudbcsbcp6fhk1suc3s6jp7e8k@4ax.com> References: Reply-To: Roedy Green NNTP-Posting-Host: RCd/Ul4tyxGUBII8WGwa5g.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 6.00/32.1186 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5789 On Tue, 28 Jun 2011 17:54:38 -0700, Gene Wirchenko wrote, quoted or indirectly quoted someone who said : > > How does one assign a String value to a StringBuilder variable? see http://mindprod.com/jgloss/stringbuilder.html There is a ton of source code on the net. Googling it looking for various classes and methods can help you find how other programmers use them which can help you make sense of the JavaDoc. I use FastCat now for 95% of my string building work. It is aims to use memory precisely to reduce the amount of GC. I only use StringBuilder for character-by-character building. see http://mindprod.com/products1.html#FASTCAT -- Roedy Green Canadian Mind Products http://mindprod.com One of the curses of the computer age is manufacturers now design home appliances to die on the very day the warranty expires. It is deliberate waste in the service of mindless profit.