contains() Returns TRUE if s is contained within the current String; otherwise FALSE. Syntax Boolean contains(String s) s is the sequence to search for.