CFStringDeleteHeader: CFString.h

Deletes a range of characters in a mutable CFString object.

void CFStringDelete (
    CFMutableStringRef theString, 
    CFRange range
);
theString

Pass a reference to the mutable CFString object from which characters are to be deleted.

range

Pass a structure of type CFRange that specifies the starting position and the number of characters to be deleted.

DISCUSSION

The CFStringDelete function deletes a range of Unicode characters from the string represented by a mutable CFString object. The characters after the deleted range are adjusted to "fill in" the gap.


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