Instance Method

index(after:)

Returns the position immediately after the given index.

Declaration

func index(after i: String.Index) -> String.Index

Parameters

i

A valid index of the collection. i must be less than endIndex.

Return Value

The index value immediately after i.