![]() |
CFStringTrim | Header: CFString.h |
Trims a specified substring from the beginning and end of the character contents represented by a mutable CFString object.
void CFStringTrim ( CFMutableStringRef theString, CFStringRef trimString );
Pass a reference to a mutable CFString object from which the characters are to be trimmed. The function raises an exception if the CFString object is not mutable.
Pass a reference to a CFString object that contains the characters to be trimmed from the mutable CFString object (theString). The characters of the trim string are treated as a substring and not individually; for example, if the mutable characters are "abc *" and the trim string is "* ", the mutable characters are not affected.