title: Issue with replacing special characters
body: <p>Im having a issue with removing special characters from the string .I used the following code.But dint work.Please suggest me better logic</p>
  
  <pre><code>- (NSString *)trimmedReciString:(NSString *)stringName 
  {
      NSCharacterSet *myCharSet = [NSCharacterSet characterSetWithCharactersInString:@"-/:;()$&amp;@\".,?!\'[]{}#%^*+=_|~&lt;&gt;€£¥•."];
      for (int i = 0; i &lt; [stringName length]; i++) {
          unichar c = [stringName characterAtIndex:i];
          if ([myCharSet characterIsMember:c]) {
              NSLog(@"%@",[NSString stringWithFormat:@"%c",[stringName characterAtIndex:i]]);
              stringName =  [stringName stringByReplacingOccurrencesOfString:[NSString stringWithFormat:@"%c",[stringName characterAtIndex:i]] withString:@""];  
  
          }
      }
      return stringName;
  }
  </code></pre>