title: remove "\n" from NSString
body: <p>My json is returning this :</p>
  <blockquote>
  <p>address = &quot;129 City Road</p>
  <p>\nShoreditch</p>
  <p>\nLondon EC1V 1JB&quot;;</p>
  </blockquote>
  <p>I want to remove the &quot;\n&quot;. Because I want to display it in one line.</p>
  <p>I tried following:</p>
  <pre><code>NSString * newReplacedString = [string stringByReplacingOccurrencesOfString:@&quot;\n&quot; withString:@&quot;&quot;];
  
  NSString * newReplacedString = [string stringByTrimmingCharactersInSet:[NSCharacterSet newlineCharacterSet]];
  </code></pre>
  <p>Both result same:</p>
  <p><strong>Result</strong></p>
  <blockquote>
  <p>900 N Michigan Avenue</p>
  <p>Chicago</p>
  <p>Illinois 60611</p>
  </blockquote>
  <p>If I tried this</p>
  <pre><code>NSString *s = [string stringByReplacingOccurrencesOfString:@&quot;\n&quot; withString:@&quot;\\n&quot;];
  </code></pre>
  <p><strong>Result</strong></p>
  <blockquote>
  <p>900 N Michigan Avenue</p>
  <p>\nChicago</p>
  <p>\nIllinois 60611</p>
  </blockquote>
  <p>Please suggest.</p>