Answer the question
In order to leave comments, you need to log in
Java. How to get all words from a string entered with a space?
I have a string, let's say String text = "aaa bbb ccc ddd". How to get all the words from it if I don't know how many words it will contain.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question