Reference > Expressions > Built-in Functions > String Functions > Replace

Replace

Replaces the specified text with some other specified text.

Syntax

Replace(text,textToMatch,replacementText)

Enabled for

Search/Dashboard No
Business Rules Yes
Quick Actions Yes
Workflow Objects Yes
Reports No

Parameters

text

The text in which to make replacements.

textToMatch

The specific text to match.

replacementText

The text with which to replace it with.

Return Value

Text value.

Example

$Replace("This blue car is really blue", "blue", "yellow")

This example returns "This yellow car is really yellow."