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