Contents

CFStringGetLength(_:)

Returns the number (in terms of UTF-16 code pairs) of Unicode characters in a string.

Declaration

func CFStringGetLength(_ theString: CFString!) -> CFIndex

Parameters

  • theString:

    The string to examine.

Return Value

The number (in terms of UTF-16 code pairs) of characters stored in theString.

See Also

Accessing Characters