CONTAINS function
CONTAINS is a string manipulation function that manipulates all string data types (BIT, BLOB, and CHARACTER), and returns a Boolean value to indicate whether one string is present within another.
Syntax
CONTAINS returns TRUE if the SearchExpression is present within the SourceExpression, otherwise it returns FALSE.
The parameter strings for both SourceExpression and SearchExpression can be of the CHARACTER, BLOB, or BIT data type, but must be of the same data type.
If any parameter is NULL, the result is NULL.
Examples
CONTAINS('Hello World!', 'ello');
returns
TRUE. CONTAINS('Hello World!', 'daisy');
returns
FALSE.