![]() |
CFStringReplaceAll | Header: CFString.h |
Replaces all characters of a mutable CFString object with other characters.
void CFStringReplaceAll ( CFMutableStringRef theString, CFStringRef replacement );
Pass a reference to the mutable CFString object with characters that are to be replaced. The function raises an assertion if the CFString object is not mutable.
Pass a reference to a CFString object containing the characters that are to replace the characters in the mutable CFString object.
The CFStringReplaceALL function replaces all characters in a mutable CFString object with substitute characters. The character buffer of the object is resized according to the length of the new characters.