Instance Method インスタンスメソッド

index(afterCharacter:)

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

Declaration 宣言

func index(afterCharacter i: Index) -> 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 Indicies After a Known Position