Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

convert string to character array

   public static void main(String[] args) {
        String name = "chathumal";
        char[] ch = name.toCharArray();
        System.out.println(Arrays.toString(ch));
    }
 
PREVIOUS NEXT
Tagged: #convert #string #character #array
ADD COMMENT
Topic
Name
9+8 =