# Trim string

Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-app/virto-workflows-for-office-365/string-activities/trim-string/](https://docs.virtosoftware.com/docs/virto-workflow-automation-app/virto-workflows-for-office-365/string-activities/trim-string/)
Product: Virto Workflow Automation App
Updated: 2026-08-12


This activity allows removing symbols from the text and store result in variable.

![Trim string activity that removes leading and trailing symbols from text in Virto SharePoint workflows](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/trim_string_1.jpg)

## **Parameters**

Input parameters


| Parameter | Description | Example |
|---|---|---|
| This string | String from which all leading and trailingoccurrences of trim symbols will be removed. | Any string |
| This symbols | Symbols to be removed. | Any symbols |
| Variable:string | Trimmed string. |  |


Example

![Example of the Trim string activity configured with the string and trim symbols in a Virto workflow](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/trim_string_2.png)
