What is the best way to convert a Character[] to char[] or a String ?
One way is to manually loop through the Character array presently in a for(char c : CharacterArray) loop , appending to a StringBuilder. StringBuilder seems to accept a Character[] directly also , but is that all to it ?
commons-lang has a toPrimitive method, but there’s nothing like this in the standard API. The only way is to loop through the array and transform each Character into a char (and decide what to do with null values).