CFStringGetRangeOfComposedCharactersAtIndex(_:_:)
Returns the range of the composed character sequence at a specified index.
Declaration
func CFStringGetRangeOfComposedCharactersAtIndex(_ theString: CFString!, _ theIndex: CFIndex) -> CFRangeParameters
- 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 (
0toN-1inclusive, whereNis 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
CFStringCreateExternalRepresentation(_:_:_:_:)CFStringGetBytes(_:_:_:_:_:_:_:_:)CFStringGetCharacterAtIndex(_:_:)CFStringGetCharacters(_:_:_:)CFStringGetCharactersPtr(_:)CFStringGetCharacterFromInlineBuffer(_:_:)CFStringGetCString(_:_:_:_:)CFStringGetCStringPtr(_:_:)CFStringGetLength(_:)CFStringGetPascalString(_:_:_:_:)CFStringGetPascalStringPtr(_:_:)CFStringInitInlineBuffer(_:_:_:)