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
startINTYes-The starting position index for the substring
endINTYes-The ending position index for the substring

Outputs

Output NameData TypeDescription
outputSTRINGThe extracted substring from the input text