Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #23033
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Printing Out appended list |
| Date | 2013-03-21 11:56 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <kifagh$b8o$1@dont-email.me> (permalink) |
| References | <47637551-543f-49fc-8165-41de869e6a8f@googlegroups.com> |
On 3/21/2013 10:59 AM, subhabangalore@gmail.com wrote:
> Dear Group,
>
> If I try to append the strings in sb within a loop, where strings are getting generated from loop, --this part is getting fine, but the problem is how I can take out the print of the "sb" portion.
>
> for (loop condition) {
> StringBuilder sb = new StringBuilder();
> sb.append("some string");
> . . .
> sb.append(anotherString);
> }
This pseudocode shows no printing at all, so I guess you have
already found a way to "take out the print." What "print" are you
talking about, and why do you want to get rid of it?
Maybe if you showed actual code instead of pseudocode it would
be easier for us to understand your intent.
--
Eric Sosman
esosman@comcast-dot-net.invalid
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Printing Out appended list subhabangalore@gmail.com - 2013-03-21 07:59 -0700
Re: Printing Out appended list markspace <markspace@nospam.nospam> - 2013-03-21 08:09 -0700
Re: Printing Out appended list lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-21 15:22 +0000
Re: Printing Out appended list Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-03-21 11:56 -0400
Re: Printing Out appended list Roedy Green <see_website@mindprod.com.invalid> - 2013-03-21 18:21 -0700
Re: Printing Out appended list Roedy Green <see_website@mindprod.com.invalid> - 2013-03-21 14:06 -0700
csiph-web