CFStringHasSuffix

Header: CFString.h Carbon status: Supported

Determines if the character data of a CFString object end with a specified sequence of characters.

Boolean CFStringHasSuffix (
    CFStringRef theString, 
    CFStringRef suffix
);
Parameter descriptions
theString

Pass a reference to the CFString object to be evaluated.

suffix

Pass a reference to a CFString object representing the suffix to search for.

function result

TRUE if the CFString object contains the given suffix, FALSE if otherwise.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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