Menu

#5 String ++ to StringBuffer

open
nobody
5
2007-03-07
2007-03-07
chris_furet
No

Hello,

Can you provide a features that convert

String myString=myString0+myString1+myStringN....+mySringNplus1;

into a

StringBuffer buff=new Stringbuffer(100);
buff.append(myString0).append(myString1).append(...).append(mySringNplus1);
String myString=buff.toString();

or Any shorter one line version.

Best Regards.

Christophe

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.