English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

1 answers

Check out the StringBuilder class.

StringBuilder b = new StringBuilder();
for ( int i = 0; i < numAsciiValues; i++ )
{
b.append( (char) asciiValues[i] );
}
String str = new String( b );

2006-12-23 04:00:27 · answer #1 · answered by TankAnswer 4 · 0 0

fedest.com, questions and answers