标签:
NSCharacterSet *set = [NSCharacterSet characterSetWithCharactersInString:@"@/:;()¥「」"、[]{}#%-*+=_\\|~<>$€^?‘@#$%^&*()_+‘\""]; NSString *trimmedString = [string stringByTrimmingCharactersInSet:set];
NSString过滤字符串stringByTrimmingCharactersInSet
标签:
原文地址:http://my.oschina.net/u/1782374/blog/474984