title: Adding string to an array
body: <p><br>
  i wanted to know how to add strings into an array.<br>
  I used the following methods but it is showing <code>null</code>.</p>
  
  <pre><code>1) [arrData addObject:[NSString stringWithString:strlast]];
  2) [arrData addObject:strlast];
  </code></pre>
  
  <p>Thanks in advance</p>