I was trying to split a string into an array of single letters. Here\'s what I did,
String str = \"abcddadfad\"; System.out.println(str.length()); // ou
You can just use the built in java method from the string class. myString.toCharArray() the empty string is being stored at index 0
myString.toCharArray()