Look at the String class's API doc. There is a method that returns a char array from a String.