public boolean contains (CharSequence s)

Returns true if and only if this string contains the specified sequence of char values.

Parameters:
s    the sequence to search for

Returns:  true if this string contains s, false otherwise

Exceptions:
NullPointerException    if s is null

Since:  1.5