~=(_:_:) Declarationstatic func ~= (lhs: String, rhs: Substring) -> Bool See AlsoComparing Strings Using Operators==(_:_:)==(_:_:)!=(_:_:)!=(_:_:)