Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

String to Char array

String s="abcd";
char[] a=s.toCharArray();

for(char c:a)
{ 	System.out.println(c); } 
Source by www.quora.com #
 
PREVIOUS NEXT
Tagged: #String #Char #array
ADD COMMENT
Topic
Name
1+2 =