title: Appending to NSMutableString in a for loop
body: <pre><code>NSMutableString*  highlightedString = [NSMutableString stringWithCapacity:1];
  for (QWZTerm* term in self.highlightArray) {
      [highlightedString stringByAppendingFormat:@"%@ ", term.value];
  }
  </code></pre>
  
  <p>Basically term.values are NSStrings ( "john" and "mary" and I would like to append them like "john mary". Unfortunately above doesn't work for me. I would appreciate any directions.</p>