How do I remove double quotes from an NSString. Example:
//theMutableString: "Hello World"
[theMutableString replaceOccurrencesOfString:@""" withString:@"" options:NSCaseInsensitiveSearch range:(NSRange){0,[theMutableString length]}]
It doesn't seem to work, maybe since I had to escape the " in the replaceOccurrencesOfString?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…