//除去字符串中的“111@”
NSMutableString *str = [[NSMutableString alloc]initWithFormat:@"111@sudhqu111@lgkokge"];
while ([str rangeOfString:@"111@"].length>0)
{
[str deleteCharactersInRange:[str rangeOfString:@"111@"]];
}
2022-09-04 15:35:43
//除去字符串中的“111@”
NSMutableString *str = [[NSMutableString alloc]initWithFormat:@"111@sudhqu111@lgkokge"];
while ([str rangeOfString:@"111@"].length>0)
{
[str deleteCharactersInRange:[str rangeOfString:@"111@"]];
}