$endsWith
Returns whether the provided text's last argument is 'query'.
Usage
This function has two params.
Param
Description
Type
Required
text
The text that may end with 'query'.
String
Yes
query
The word that 'text' may end with.
String
Yes
Remember the case of characters in `$endsWith[]` matters (e.g. `$endsWith[HELLO;o]` would return false). You can use [`$toLowerCase[]`](./tolowercase.md) to negate this issue.
Examples
Example #1
Example #2
Last updated
Was this helpful?