ComfyUI Node

startswith

Checks if a string starts with the specified prefix. This node tests whether the input string starts with a particular substring. Returns True if the string starts with the specified prefix, 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
startswith
    • BOOLEAN
    string
    prefix
    start0
    end0
    CategoryBasic/STRING

    Inputs (4)

    NameTypeDefaultDescription
    stringSTRING
    prefixSTRING
    startoptINT0
    endoptINT0

    Outputs (1)

    NameTypeDescription
    BOOLEANBOOLEAN