REPLACE_FIRST

Replaces the first occurrence of the search text with the replacement text.

Syntax 

REPLACE_FIRST(text, search, replace_with)

Usage examples 

Example 1

Input

1
{
2
"my_action": {
3
"message": "we will build what we need"
4
}
5
}

Formula

REPLACE_FIRST(my_action.message, "we", "I")

Output

"I will build what we need"

Sample Actions 

Transform
REPLACE_FIRST
Transform
My Action

Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?