func hasPrefix(String)
Returns a Boolean value indicating whether the string begins with the specified prefix.
func hasSuffix(String)
Returns a Boolean value indicating whether the string ends with the specified suffix.
func contains(Character)
Returns a Boolean value indicating whether the sequence contains the given element.
func contains(where: (Character) -> Bool)
Returns a Boolean value indicating whether the sequence contains an element that satisfies the given predicate.