Answer the question
In order to leave comments, you need to log in
How to break a string every two spaces in java?
Good day! I have a code that wraps a string through every space
How to make it wrap every two or 3 spaces.
In general, I need to have two or three words on each line.
Or can you tell me some other method better than through split?
in textview.
String[] arrayString = string.split(" ");
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