ComfyUI Node

find

Finds the first occurrence of a substring in a string. This node searches for the first occurrence of the specified substring within the input string. Returns the lowest index where the substring is found. If the substring is not found, it returns -1. Optional start and end parameters allow you to limit the search to a specific portion of the string.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
find
    • INT
    string
    substring
    start0
    end0
    CategoryBasic/STRING

    Inputs (4)

    NameTypeDefaultDescription
    stringSTRING
    substringSTRING
    startoptINT0
    endoptINT0

    Outputs (1)

    NameTypeDescription
    INTINT