BreakIterator setText(String) method in Java with Examples
The setText() method of java.text.BreakIterator class is used to set the new text into the BreakIterator.Syntax: public void setText(String newText) Parameter: This method takes text in the form of string as parameter.Return Value: This method returns nothing.Below are the examples to illustrate the