How to get substring without cutting words in between in Java?
<p>I have so many strings and i want to print them all one by one. problem is, i have limited width to print the string. so is there any way to know when the width ends and remaining string should come in next line. and words should not be cut.</p>

<p>Thanks in advance...</p>
