标签: iphone json nsstring
我有以下字符串。
"phone" : "555-522-8243", "name" : "Anna Haro"
我想将"替换为/"。我怎么能这样做?
"
/"
答案 0 :(得分:0)
NSString* yourNewString= [yourOldaString stringByReplacingOccurrencesOfString:@"\"" withString:@"/\""]; NSLog(@"\n New String %@",yourNewString);