Contents

CFStringGetRangeOfComposedCharactersAtIndex(_:_:)

Returns the range of the composed character sequence at a specified index.

Declaration

func CFStringGetRangeOfComposedCharactersAtIndex(_ theString: CFString!, _ theIndex: CFIndex) -> CFRange

Parameters

  • theString:

    The string to examine.

  • theIndex:

    The index of the character contained in the composed character sequence. If the index is outside the range of the string (0 to N-1 inclusive, where N is the length of the string), the behavior is undefined.

Return Value

The range of the composed character sequence.

Discussion

A composed character sequence is a series of one or more characters where each is a combining character, zero-width joiner or non-joiner, voiced mark, or enclosing mark, optionally including a base character.

See Also

Accessing Characters