SyntaxFix
Write A Post
Hire A Developer
Questions
String[] result = input.split("(?!^)");
What this does is split the input String on all empty Strings that are not preceded by the beginning of the String.