ComfyUI Node

endswith

Checks if a string ends with the specified suffix. This node tests whether the input string ends with a particular substring. Returns True if the string ends with the specified suffix, otherwise False. Optional start and end parameters allow you to check only a specific portion of the string.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
endswith
    • BOOLEAN
    string
    suffix
    start0
    end0
    CategoryBasic/STRING

    Inputs (4)

    NameTypeDefaultDescription
    stringSTRING
    suffixSTRING
    startoptINT0
    endoptINT0

    Outputs (1)

    NameTypeDescription
    BOOLEANBOOLEAN