how to detect new line in this type of string
<pre><code>String quote = "Now is the time for all good "+
               "men to come to the aid of their country.";
</code></pre>

<p>I want to detect break line in run time when I click on button I want to know new line comes..
because in TEXTVIEW i want output same as like this String nothing change.. so tell me some idea or logic or source code of this....</p>
