index(before:)
Returns the position immediately before the given index.
Declaration
func index(before idx: String.UTF16View.Index) -> String.UTF16View.IndexReturn Value
The index value immediately before i.
Returns the position immediately before the given index.
func index(before idx: String.UTF16View.Index) -> String.UTF16View.IndexThe index value immediately before i.