# Split Text Block

The **Split Text** option helps you extract a specific value from a string using a separator.

#### Steps

1. Add a node → **Formatter → Text Formatter → Split Text**
2. Select or create **Authentication**
3. Enter the **Text** you want to split
4. Enter the **Separator** (e.g., `_` or `+`)
5. Choose the required **Segment Index** (First, Last, Second Last, etc.)
6. Click **Run & Save**
7. Check **Run History** to see the extracted value

Example:\
Text: `1ore2_3_45 + 78`\
Separator: `_`\
Select **Second Last** → Output: `3`

This is how you extract specific values from any string.

{% embed url="<https://youtu.be/4Bb2Cp6Y0Pg>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpdocumentation.gitbook.io/user/automation-apps-blocks/text-block/split-text-block.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
