Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java convert a string to char[]

String string =  "ABCDEF" ;
 
char[] charsFromString = string.toCharArray(); // { 'A', 'B', 'C', 'D', 'E', 'F' }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #convert #string
ADD COMMENT
Topic
Name
1+2 =