Trim Text Action—Setting Properties

The Trim Text action is used to trim characters from the beginning or the end of a specified block of text, and to place the result in a variable. The variable must be created in an earlier step using the Create Variable action.

To set Trim Text properties

  1. From the Task Builder Available Actions pane, open the Text folder and double-click the Trim Text action or drag it into the Steps pane.

  2. In the Text to remove from box, enter the target text to be trimmed. To enter a variable or dataset, click the Insert Expression/Variable button and use the Expression Builder to insert it.

  3. In the Remove from box, select beginning and end, beginning, or from end.

  4. In the Remove box, select the type of characters to remove. To remove text, select User defined and then enter the text in the Characters to remove box. To enter a variable or expression, click inside the Characters to remove box and then click the Insert Expression/Variable button and use the Expression Builder to insert it.

  5. In the Populate variable with result box, select the variable to populate.

  6. To set the Description tab properties, refer to Description Tab Options.

  7. To set the Error Causes and On Error tab properties, refer to Step Error Handling.

  8. When finished, click OK to save settings and close the properties dialog window.

See Also

About Actions

Adding Task Steps

Trim Text Action