How to convert a String without separator to an ArrayList.
ArrayList
My String is like this:
String str = \"abcd...\"
you can do it like this:
import java.util.ArrayList; public class YourClass{ public static void main(String [] args){ ArrayList char = new ArrayList(); String str = "abcd..."; for (int x = 0; x < str.length(); x ++){ char.add(str.charAt(x)); } } }