title: How to truncate the string into required length in iphone sdk?
body: <p>I am having a string which contains more the 25 characters;</p>
  
  <pre><code>NSString *str = @"This is the string to be truncated to 15 characters only";
  </code></pre>
  
  <p>In the above string I need only the 15 characters to be stored in another variable after truncation.</p>
  
  <p>can anyone suggest me how to do this?
  Anyone's help will be much appreciated.</p>
  
  <p>Thank you,
  Monish</p>