title: NSString isEqualToString: for \n
body: <p>I have an Cocoa app that calls a web service.  When I parse the response from the web service I am getting a \n as the last character in my foundCharacters delegate for the NSXMLParser for each element in the XML.  </p>
  
  <p>When I try to do the following:</p>
  
  <pre><code>if (![string isEqualToString:@"\n"])
  </code></pre>
  
  <p>The check will always fails to catch the newline.  Anyone know a good way to string check a newline?</p>
  
  <p>I also find it odd that each element would have a newline at the end of each value, even though I see no evidence of that in the output from the web service.</p>
  
  <p>This is quite the problem for something that should be exceptionally easy to do.</p>