SyntaxFix
Write A Post
Hire A Developer
Questions
You will want to use the String class' Split() method and pass in a regular expression of "\D+" which will match at least one non-number.
myString.split("\\D+");