I have the following:
String string = \"1-50 of 500+\"; String[] stringArray = string.split(\" \");
Printing out all the elements in this
Use this to spilt the String.
String[] stringArray = string.split("\\s+");