you can use \ to remove quotes from a string
\ "(double quote)
\ '(single quote)
example:
NSString *s = @"your String"; NSCharacterSet *newStr = [NSCharacterSet characterSetWithCharactersInString:@"/""]; s = [[s componentsSeparatedByCharactersInSet: newStr] componentsJoinedByString: @""]; NSLog(@"%@", s);
user5938635
source share