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