<<< References to Strings | Index | String from array of bytes >>> |
Two ways to create a string from an array of characters:
char cityArray[] = { 'D', 'a', 'l', 'l', 'a', 's' }; String cityString1 = new String( cityArray ); String cityString2 = new String( cityArray, 0, 3 );
<<< References to Strings | Index | String from array of bytes >>> |