CFStringHasSuffixHeader: CFString.h

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

Boolean CFStringHasSuffix (
    CFStringRef theString, 
    CFStringRef suffix
);
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.


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