Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Arraylist string to character java

String str = "abcd...";
ArrayList<Character> chars = new ArrayList<Character>();
for (char c : str.toCharArray()) {
  chars.add(c);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Arraylist #string #character #java
ADD COMMENT
Topic
Name
3+5 =