contains()

Returns TRUE if s is contained within the current String; otherwise FALSE.

Syntax

Boolean contains(String s)
  1. s is the sequence to search for.