How to convert a String without separator to an ArrayList.
ArrayList
My String is like this:
String str = \"abcd...\"
You need to add it like this.
String str = "abcd..."; ArrayList chars = new ArrayList(); for (char c : str.toCharArray()) { chars.add(c); }