> For the complete documentation index, see [llms.txt](https://docs.flexy.bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flexy.bot/modules/text/steps/slice-text.md).

# Slice Text

**Introduction**

The "Slice Text" step extracts a portion of a text string based on specified start and end positions. This step is useful for isolating specific segments of text.

**Configuration**

* **Value**: The text string to be sliced. This parameter is required.
* **From**: The starting position of the slice. This is a required parameter, and using `0` will start from the beginning of the text.
* **To**: The ending position of the slice. If not specified, the slice will include all text from the starting position to the end of the string.

**Outputs**

* **Value**: The sliced portion of the text, returned as a new text string. This output can be used in subsequent steps or actions.
