CFStringDelete

Header: CFString.h Carbon status: Supported

Deletes a range of characters in a mutable CFString object.

void CFStringDelete (
    CFMutableStringRef theString, 
    CFRange range
);
Parameter descriptions
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.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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