I have the following:
String string = \"1-50 of 500+\"; String[] stringArray = string.split(\" \");
Printing out all the elements in this
To fix the space problem, after splitting, you can use .trim() to remove the white space.
.trim()
Something like this should work.
for(int x=0; x