Index

public extension String.Index
  • Makes a new String.Index object by setting an offset on the index on the left hand side.

    Declaration

    Swift

    static func + (left: String.Index, right: (String, Int)) -> String.Index
  • Makes a new String.Index object by setting an offset on the index on the left hand side.

    Declaration

    Swift

    static func - (left: String.Index, right: (String, Int)) -> String.Index