Contents

formIndex(before:)

Replaces the given index with its predecessor.

Declaration

func formIndex(before i: inout Substring.UnicodeScalarView.Index)

Parameters

  • i:

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