Instance Method

formIndex(before:)

Replaces the given index with its predecessor.

Declaration

func formIndex(before i: inout String.Index)

Parameters

i

A valid index of the collection. i must be greater than startIndex.

Discussion