Answers for "java convert a string to char[]"

8

java convert a string to char[]

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

Code answers related to "java convert a string to char[]"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language