title: Replace multiple characters in a string in Objective-C?
body: <p>In PHP I can do this:</p>
  
  <pre><code>$new = str_replace(array('/', ':', '.'), '', $new);
  </code></pre>
  
  <p>...to replace all instances of the characters / : . with a blank string (to remove them)</p>
  
  <p>Can I do this easily in Objective-C? Or do I have to roll my own?</p>
  
  <p>Currently I am doing multiple calls to <code>stringByReplacingOccurrencesOfString</code>:</p>
  
  <pre><code>strNew = [strNew stringByReplacingOccurrencesOfString:@"/" withString:@""];
  strNew = [strNew stringByReplacingOccurrencesOfString:@":" withString:@""];
  strNew = [strNew stringByReplacingOccurrencesOfString:@"." withString:@""];
  </code></pre>
  
  <p>Thanks,<br>
  matt</p>