--- title: "$Replace" ---
This is generated from the built in components of Otter 2023.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Functions within your Otter instance to see exactly what operations are available.

Searches for and replaces text in a string.

Script usage:

$Replace(Text, Value, ReplaceWith, [IgnoreCase])

Parameters:

NameDescription
TextThe string to search for replacements.
ValueThe substring to search for in the first argument.
ReplaceWithThe substring to replace occurrences of the second parameter with.
IgnoreCaseWhen "true", string comparison will be performed with case insensitivity; the default is "false".