{ Frameless }

contains($arg1, $arg2)

The contains($arg1, $arg2) function checks if one string contains the other. It returns true if $arg1 contains the characters of $arg2.

Arguments

ArgumentType
$arg1xs:string
$arg2xs:string
Return valuexs:boolean

Examples

contains("frameless", "e")true
contains("frameless", "less")true
contains("frameless", "q")false
contains("frameless", "")true