Abonnieren

UiPath-Aktivitäten

Die Anleitung zu UiPath-Aktivitäten (The UiPath Activities Guide)

Modify Text

UiPath.Core.Activities.ModifyText

Beschreibung

Updates a text value using modifications including find and replace, trim, and combining (concatenating) with another text value.

Eigenschaften

Common

  • Display Name - The name displayed for the activity in the Designer panel.

Eingabe

  • Text to modify - The text value to be modified.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Ausgabe

  • Save result as - Store the resulting text value.

UiPath.Core.Activities.ModifyText

Beschreibung

Updates a text value using modifications including find and replace, trim, and combining (concatenating) with another text value.

Configuring the Activity

In the Body of the Activity

  • Text to modify - Enter the text to modify. In StudioX, click Plus plus button on the right side of the field, and then indicate the text using one of the options from the menu:
    • Data from the Project Notebook, a parent Excel file or email account. For example, select an Excel file and then select a cell, or indicate a field from a selected email in Outlook.
    • Ask when run - Prompt for the text when the project is executed.
    • Paste from clipboard - Paste a value that you previously copied to the clipboard in the project.
    • Text - Enter the text in the Text Builder.
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Open in Advanced Editor - Enter a VB expression.
  • Add modification - Select the modification to perform. You can add as many modifications as you need in the order in which you want them to be performed. A new activity is added to enable you to configure each modification:
    • Find and replace - Adds a Find and replace text activity inside Modify Text.
      • Search for / Replace with - Enter the text to search for and the text to replace it with. In StudioX, the same options are available as for Text to modify.
      • Match case - Select this option if you want to only find and replace words that match the capitalization of the text to search for.
    • Combine text - Adds a Combine text activity inside Modify Text.
      • New text to add - Enter the text to combine with the text being modified. I