Trims whitespace from the beginning and end of a CFMutableString object.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The string to trim. If this value is not a CFMutableString object, an assertion is raised.
Whitespace for this function includes space characters, tabs, newlines, carriage returns, and any similar characters that do not have a visible representation.