Skip to content

$checkContains

$checkContains will check if the given arguments are present within the text.

Usage

$checkContains[text;...chars]

Parameters

FieldTypeDescriptionRequired
textstringText you want to check.true
charsstringText you want to check for.true

Example(s)

This will return true as easy and/or simple are present in the given text:

1
client.command({
2
name: "checkContains",
3
code: `
4
$checkContains[aoi.js is easy and simple to use for beginners;easy;simple]
5
`
6
});