Documentation Index
Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
Use this file to discover all available pages before exploring further.
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHubThe StringSubstring node extracts a portion of text from a larger string. It takes a starting position and ending position to define the section you want to extract, then returns the text between those two positions.
Inputs
| Parameter | Data Type | Required | Range | Description |
|---|---|---|---|---|
string | STRING | Yes | - | The input text string to extract from. Supports multi-line text. |
start | INT | Yes | - | The starting position index for the substring. The first character is at index 0. |
end | INT | Yes | - | The ending position index for the substring. The character at this index is not included in the result. |
Outputs
| Output Name | Data Type | Description |
|---|---|---|
output | STRING | The extracted substring from the input text, containing all characters from the start position up to (but not including) the end position. |
Source fingerprint (SHA-256):
fd3ec23bbfe3a51f5481f1b0fe8b77f66e08469bb2a4bd3e266a7607f014e544