posted 17 years ago
Your subject line and your message both seem to say different things, and I'm guessing what you're really asking is yet another, third thing: how to turn a single String into an array of char. That's an easy one -- the String class has a single method toCharArray() that does it:
String myString = "Hello";
char[] theCharArray = myString.toCharArray();