Replaces the given index with its predecessor.
SDK
Framework
On This Page
func formIndex(before i: inout String.Index)
i
A valid index of the collection. i must be greater than startIndex.
startIndex