Skip to main content

Replace All

Replace multiple substrings in a string with their respective replacements

Category: Data Processing & Transformation · Group: Data Processing · Activity name: ReplaceAll

The ReplaceAll activity in the designer

Example

outputVariable = ReplaceAll("<stringToProcess>", toReplace=[], replaceWith=[])

Inputs

NameTypeRequiredDefaultDescription
String to processstringYesThe input string where the specified substrings will be replaced.
Substrings to ReplacearrayThe list of substrings that will be replaced in the input string.
Replacement StringsarrayThe list of strings that will replace the corresponding substrings in 'Substrings to Replace'.

Outputs

NameTypeDescription
outputVariablestringSpecifies the name of the variable that will store the replaced string.