Skip to main content

Replace string in text

Finds and replaces all instances of a specified string from the text provided.

Common use cases

  • Data Manipulation
  • Data Management

Category

  • Text

Inputs (what you have)

NAMEDESCRIPTIONTYPEREQUIREDEXAMPLE
TextThe text to be modifiedText (Long)YesLuke is the best character in Star Wars
Find stringThe text to be found and replaced.Text (Long)YesLuke
Replace valueThe value used as a replacement. If left blank this will cause the found text to be removedText (Long)NoHan Solo
Case insensitive?Indicator if the ‘Find string’ input should look for case insensitive matchesTrue/FalseNo

Note: The value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

NAMEDESCRIPTIONTYPEREQUIREDEXAMPLE
Edited textThe text to be The original “Text” modified where all instances of the “Find string” are replaced by the “Replace value”Text (Long)YesHan Solo is the best character in Star Wars

Outcomes

NAMEDESCRIPTION
SuccessThis status is selected if the text was successfully replaced.
No ResultThis status is selected if the text to replace is not in the provided text.

Requirements

  • N/A