+ (NSString *) getOffRubbishWithString:(NSString *)str
{
NSMutableString *responseString = [NSMutableString
stringWithString:str];
NSString *character =
nil;
for (int i =
0; i < responseString.length; i ++) {
character = [responseString substringWithRange:NSMakeRange(i,
1)];
if ([character
isEqualToString:@"\\"])
[responseString deleteCharactersInRange:NSMakeRange(i,
1)];
}
[responseString stringByReplacingOccurrencesOfString:@"\‘"
withString:@""];
return responseString;
}
时间: 2024-10-09 05:40:04