CFStringTrimWhitespace

Header: CFString.h Carbon status: Supported

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

void CFStringTrimWhitespace (
    CFMutableStringRef theString
);
Parameter descriptions
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.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)