iPhone:Problem with String Concatenation
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/510269/how-do-i-concatenate-strings-in-objective-c">How do I concatenate strings in Objective-C?</a>  </p>
</blockquote>



<p>Hello,</p>

<p>I am retrieving 10 separate strings from an XML parser. I want to append all the strings together. I checked for string concatenation in Obj-C and tried the below code, but it doesn't work as expected. Every time it overwrites with the new string. </p>

<pre><code> NSString *newstring; // Global variable

[newstring stringByAppendingString:newStrGotFromXML];
</code></pre>

<p>Could someone guide me to resolve this?</p>

<p>Thank you!</p>
