$stringEndsWith
$stringEndsWith
will check if the given argument ends with something specific.
Usage
$stringEndsWith[text;check]
Parameters
Field | Type | Description | Required |
---|---|---|---|
text | string | The text that will be checked. | true |
check | string | The argument that will check if the text ends with something specific. | true |
Example(s)
This will return true
as aoi.js
ends with js
:
1client.command({2 name: "stringEndsWith",3 code: `4 $stringEndsWith[aoi.js;js]5 `6});