contains()

Prev Next

This function returns "true" if the text a contains the text b.

Parameters

Parameter

Description

a

Text to search in.

b

Search term.

Examples

Parameter a

Parameter b

Result

Hello

ell

true

Hello

lle

false