I am trying to remove all the parentheses in my string in iOS. Saw this stackoverflow post: how to remove spaces, brackets and " from nsarray
The answer:
The following code is working
NSString *str=[[NSBundle mainBundle] objectForInfoDictionaryKey:@"string"]; NSLog(@"%@",[[str stringByReplacingOccurrencesOfString:@")" withString:@""] stringByReplacingOccurrencesOfString:@"(" withString:@""]);