rangeOfComposedCharacterSequences(for:)

Returns the range in the string of the composed character sequences for a given range.

Declaration

func rangeOfComposedCharacterSequences<R>(for range: R) -> Range<Self.Index> where R : RangeExpression, R.Bound == String.Index