Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

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
2+8 =