# 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`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string) ![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  Input the text from which the subtext is to be generated.
* **Start Index:** [`Integer Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#types-of-arguments)![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  Input the start index of the subtext.
* **Length:** [`Integer Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#types-of-arguments)![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  Input the length of the subtext.

### Output

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