Answers for "how to transform a string into a char en java"

C++
0

java convert a string to char

String string =  "ABCDEF" ;
 
char[] charsFromString = string.toCharArray(); // { 'A', 'B', 'C', 'D', 'E', 'F' }
Posted by: Guest on January-01-1970

Code answers related to "how to transform a string into a char en java"

Browse Popular Code Answers by Language