Skip to content

Remove Operation: remove

The remove operation under the String Operations function is used to remove a specified substring or character from a given string. This operation is particularly useful for cleaning or refining data by eliminating unwanted content.

Example: Suppose you have a string “Order Number: 12345” and you want to remove the phrase “Order Number: ” to retain only the numeric value (“12345“).

Steps to Configure:

  1. Add a new step.
  2. Select SET from the Action dropdown.
  3. Enter a variable name in the Element Key field (e.g., CleanedString). This variable will store the updated string.
  4. Click on Form, select Functions, and choose String Operations.
  5. Provide the following parameters:
    • operation: Choose remove.
    • data: Enter the original string from which content will be removed (e.g., “Order Number: 12345”).
    • removeArgument: Specify the substring or character to be removed (e.g., “Order Number: “).
  6. Click Save.
v7_string_op_remove_list_view
List View
v7_string_op_remove_grid_view
Grid View

Outcome on Execution:

  • The operation removes the specified substring (“Order Number:”) from the string.
  • The updated string (“12345”) is stored in the variable defined in the Element Key field (e.g., CleanedString).
  • This variable can be referenced in subsequent automation steps using the syntax ${VariableName} (e.g., ${CleanedString}).

Last updated: Oct 7, 2025
Back To Top