How do I remove double quotes from an NSString. Example:
//theMutableString: \"Hello World\" [theMutableString replaceOccurrencesOfString:@\"\\\"\" withStr
Use the NSMakeRange function instead of your cast. This'll work:
NSMakeRange
[mString replaceOccurrencesOfString:@"\"" withString:@"" options:NSCaseInsensitiveSearch range:NSMakeRange(0, [mString length])];