1. Docs
  2. Formulas
  3. Functions

STARTS_WITH

Returns true if the text begins with the prefix

Categories: Text

Syntax

STARTS_WITH(text, prefix)

Examples

Example 1

Input

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

Formula

STARTS_WITH(my_action.message, "Hello")

Output

"true"

Example 2: case-sensitive

Input

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

Formula

STARTS_WITH(my_action.message, "hello")

Output

"false"
Was this helpful?