contains(_:)

Returns true iff other is non-empty and contained within self by case-sensitive, non-literal search.

func contains<T>(_ other: T) -> Bool where T : StringProtocol

Equivalent to self.rangeOfString(other) != nil