Contents

CFStringHasSuffix(_:_:)

Determines if a string ends with a specified sequence of characters.

Declaration

func CFStringHasSuffix(_ theString: CFString!, _ suffix: CFString!) -> Bool

Parameters

  • theString:

    The string to be evaluated.

  • suffix:

    The suffix to search for.

Return Value

true if theString ends with suffix, false otherwise.

See Also

Comparing Strings