title: Replacing the string in android?
body: <p>In my application I am displaying text from database in a textview. The text contains '\r\n'. So I replaced <strong>'\r\n' with empty i.e with ' '.</strong></p>
  
  <p>My code:</p>
  
  <pre><code>String myString = listItem.gettextdata().replace("\r\n", " "); 
  </code></pre>
  
  <p>But still the text is displaying with \r\n....where I went wrong? Please help me regarding this....</p>
  
  <p>Thanks in advance</p>