> For the complete documentation index, see [llms.txt](https://docs.visualyze.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.visualyze.ai/rpa-studio/data/string/get-sub-text.md).

# Get Sub Text

This activity gets a subtext from the user-specified text input based on the specified length and start index.

### Input

* **Text:** [`String Argument`](/getting-started/rpa-studio/arguments.md#string) ![](/files/-MVREnwPf_D3-qJvjjYd)\
  Input the text from which the subtext is to be generated.
* **Start Index:** [`Integer Argument`](/getting-started/rpa-studio/arguments.md#types-of-arguments)![](/files/-MVREnwPf_D3-qJvjjYd)\
  Input the start index of the subtext.
* **Length:** [`Integer Argument`](/getting-started/rpa-studio/arguments.md#types-of-arguments)![](/files/-MVREnwPf_D3-qJvjjYd)\
  Input the length of the subtext.

### Output

* **Result:** [`String Variable`](/getting-started/rpa-studio/variables.md#string)\
  Stores the sub text generated in the specified [String ](/getting-started/rpa-studio/variables.md#string)variable.
