I am trying to replace double quote (") with escape double quote(\"), but it is unable to replace in iOS 11. Same works fine till iOS 10. I am using Xcode 9.1.
Example:
Input from search bar : "Course"
NSString *modifedSearchString = [searchBar.text stringByReplacingOccurrencesOfString:@"\"" withString:@"\\""\""];
Expected Output : \"Course\" (Working this till iOS 10)
O/p in iOS 11 : "Course"
Anyone facing same issue?
Thanks in advance!!
