Contents

index(afterCharacter:)

Returns the position of the character immediately after another charcter indicated by an index.

Declaration

func index(afterCharacter i: AttributedString.Index) -> AttributedString.Index

Parameters

  • i:

    The index of a character in the attributed string.

Return Value

The position of the character immediately after the character at index i.

See Also

Accessing Indices