S
subhabangalore
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);
}
If any one of the esteemed members can kindly suggest.
Regards,
Subhabrata.
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);
}
If any one of the esteemed members can kindly suggest.
Regards,
Subhabrata.