Pretty straightforward question:
Is there an Objective-C equivalent that iOS developers can use with NSString objects to do the same thing as Java's replaceAll("\p{Cntrl}", "") call on a String?
We already have this in Java:
String noControlCharsString = maybeHasControlCharsString.replaceAll("\\p{Cntrl}", "");
I want something like this in Objective-C too:
NSString *noControlCharsString = [maybeHasControlCharsString stringByReplacingControlCharsWithString:@""];
Thanks in advance.
AG3