//除去字符串中的“111@”
NSMutableString *str = [[NSMutableString alloc]initWithFormat:@"111@sudhqu111@lgkokge"];
while ([str rangeOfString:@"111@"].length>0)
{
[str deleteCharactersInRange:[str rangeOfString:@"111@"]];
}
ios除去可变字符串中的某些字符,布布扣,bubuko.com
原文地址:http://blog.csdn.net/huang_zhidong/article/details/38059439