DATA Replace text in a variable function

The DATA Replace text in a variable function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Data functionality to replace text in a variable.

For a full list of available functions, please read DATA functions.


Description

The DATA Replace text in a variable function allows you to replace text in a variable.


Setting it up

To use the DATA Replace text in a variable function, follow these instructions:

{{popups:rpas/add:action=variable-replace}}

Once on a process map:

  1. Navigate to the process where you would like to add the DATA Replace text in a variable function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the DATA Replace text in a variable option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
VariableYesText-The variable to modify
FindYesText-The text to find
ReplaceNoText-The replacement text (leave empty to delete)
CountNoNumber-Number of replacements (leave blank for all)

Output variables

This action does not produce output variables.


Errors

This action does not produce specific errors.


Tips

  • Replaces text within a variable value
  • Leave Replace empty to remove the found text
  • Leave Count blank to replace all occurrences

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.