Contents

index(before:)

Returns the position immediately before the given index.

Declaration

func index(before idx: String.UTF16View.Index) -> String.UTF16View.Index

Return Value

The index value immediately before i.