ENDS_WITH

Returns true if the text ends with the suffix

Syntax 

ENDS_WITH(text, suffix)

Usage examples 

Example 1

Input

1
{
2
"my_action": {
3
"message": "Hello World!"
4
}
5
}

Formula

ENDS_WITH(my_action.message, "World!")

Output

"true"

Example 2

case-sensitive

Input

1
{
2
"my_action": {
3
"message": "Hello World!"
4
}
5
}

Formula

ENDS_WITH(my_action.message, "world!")

Output

"false"
Was this helpful?