CFStringTrimWhitespaceHeader: CFString.h

Trims whitespace from the beginning and end of the characters represented by a mutable CFString object.

void CFStringTrimWhitespace (
    CFMutableStringRef theString
);
theString

Pass a reference to a mutable CFString object with characters you want trimmed. The function raises an assertion if the CFString object is not mutable.

DISCUSSION

Whitespace for this function includes space characters, tabs, newlines, carriage returns, and any similar characters that do not have a visible representation.


© 1999 Apple Computer, Inc. — (Last Updated 9/15/99)