CFStringGetLength(_:)
Returns the number (in terms of UTF-16 code pairs) of Unicode characters in a string.
Declaration
func CFStringGetLength(_ theString: CFString!) -> CFIndexParameters
- 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
CFStringCreateExternalRepresentation(_:_:_:_:)CFStringGetBytes(_:_:_:_:_:_:_:_:)CFStringGetCharacterAtIndex(_:_:)CFStringGetCharacters(_:_:_:)CFStringGetCharactersPtr(_:)CFStringGetCharacterFromInlineBuffer(_:_:)CFStringGetCString(_:_:_:_:)CFStringGetCStringPtr(_:_:)CFStringGetPascalString(_:_:_:_:)CFStringGetPascalStringPtr(_:_:)CFStringGetRangeOfComposedCharactersAtIndex(_:_:)CFStringInitInlineBuffer(_:_:_:)