rangeOfComposedCharacterSequence(at:)
Returns the range in the receiver of the composed character sequence located at a given index.
Declaration
func rangeOfComposedCharacterSequence(at index: Int) -> NSRangeParameters
- index:
The index of a character in the receiver. The value must not exceed the bounds of the receiver.
Return Value
The range in the receiver of the composed character sequence located at anIndex.
Discussion
The composed character sequence includes the first decomposed base letter found at or before anIndex, and its length includes the decomposed base letter and all combining characters that follow.