+ 1
Java: Separate words in a String into substrings with spaces
I want to make some kind of loop that, as long as there are spaces, will cut out each word and put it in a substring I can use and alter later. Is this possible
5 Answers
+ 1
Thanks for answering! Does the split method put words into separate strings somehow or just order them differently?
+ 1
Thanks! That String Array was exactly what I needed!