Link to this page
Print this page
Parent topic
:
String Functions
Template Functions
/
String Functions
contains()
The
contains()
function returns true if a string contains a substring.
Syntax
contains(
expr1
,
expr2
)
Note:
Return true if
string(expr2)
is a substring of
string(expr1)
.