Possible Duplicate:
How can I remove quotes from an NSString?
Currently i am working in iphone application, Here i am using NSXmlparser to parse xml file, the values comes city name is "Melbourne" in NSString, i want to remove left and right double quotes, please any one help these
Thanks
Here i tried:
myString = @"Melbourne";
NSString *Replace =[myString stringByReplacingOccurrencesOfString:@""" withString:@""];
This should do it:
[str stringByReplacingOccurrencesOfString:@"\"" withString:@""];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With