Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to convert string into string array

public static void main(String[] args) {
    String str = "abcdef";

    String [] array = str.split(""); //   {"a", "b", "c", "d", "e", "f" }.
    
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #string #string #array
ADD COMMENT
Topic
Name
9+2 =