NSMutableString should have -trimCharactersInSet:
| Originator: | chaos42 | ||
| Number: | rdar://17403445 | Date Originated: | 20-Jun-2014 05:02 PM |
| Status: | Open | Resolved: | |
| Product: | OS X SDK | Product Version: | 10.0-10.9 |
| Classification: | Enhancement | Reproducible: | Always |
Summary: NSString has -stringByTrimmingCharactersInSet:, which takes a character set and returns a new NSString. Unlike other NSString -stringBy* API's, this one does not have an in-place counterpart in NSMutableString. I would like one. Steps to Reproduce: 1. Try to trim an NSMutableString in place. Expected Results: 1. There should be a method available to do this. Actual Results: 2. There is not a method available to do this. Version: 10.0-10.9 SDKs, iOS 2.0-7.1 SDKs Notes: Not a regression, but a missing API.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!