$indexOf
$indexOf
will return the index of the given character.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
string | string | The text the bot will be checking the index of. | true |
char | string | The characters the bot will be checking for. | true |
Example(s)
This will return 8
as it’s the first occurring position of the character w
: