Skip to main content

Using Advanced Expressions: Replace

Distributor guide to the REPLACE advanced expression in Encompass Fusion reports: remove or swap out characters or words in a text field. Needs FusionEdit permission and v23.01+.

B
Written by Bailey Naas-Thornton

Minimum Version Required: 23.01

Pre-Conditions

  • Required Permission - FusionEdit
    ​
    ​

  • Recommended Fusion I/II Certification

Steps

Removes all occurrences of a specified substring, and optionally replaces them with another string.
​
​
Syntax
​
​
REPLACE(Original String, Substring, New Substring)


​
​Arguments
​

​

Original String:

A custom text string or field in Encompass.
​
​

Substring:

A custom text string that is a single character of pattern or word that you want to remove/replace.
​
​

New Substring:

Optional custom text that will replace the Substring. If this is not specified, the Substring will be removed instead of replaced.


​
Example

REPLACE('ABCD','BC','YZ') = 'AYZD'

PDF

Did this answer your question?