Skip to main content

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 GitHub
The 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

ParameterData TypeRequiredRangeDescription
stringSTRINGYes-The input text string to extract from. Supports multi-line text.
startINTYes-The starting position index for the substring. The first character is at index 0.
endINTYes-The ending position index for the substring. The character at this index is not included in the result.

Outputs

Output NameData TypeDescription
outputSTRINGThe 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