# Substring Text

Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/text-activities/substring-text/](https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/text-activities/substring-text/)
Product: Virto Workflow Automation Web Part
Updated: 2026-08-12


This activity allows extracting substring from the text and store result in variable.

![Substring Text activity settings for extracting a substring by start index and length into a variable](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/substring_text_1.png)

You should specify the zero-based starting character position of a substring in this instance and the number of characters in the substring, if length is -1, length will be ignored.

## **SharePoint Workflow Designer Phrase**

Extract substring from this text, starts at 0, length -1 and store in Variable: variable.

**Parameters**


| Parameter | Description |
|---|---|
| this text | Original text |
| start index | The zero-based starting character position of a substring in this instance. |
| length | The number of characters in the substring. Set -1 to ignore length. |
| variable | This activity will place result into an output variable |

