Blog Archives

Convert between String and Char Array in Java

Convert a String to an Array of Characters The String.toCharArray() method converts a string to a new character array. The following code gets an array of Character objects, instead of a character array. Convert an Array of Characters to a

Tagged with: , ,
Posted in Java