ComfyUI Node

length

Returns the length of a string. This node calculates and returns the number of characters in the input string. It works the same way as Python's built-in len() function for strings.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
length
    • INT
    string
    CategoryBasic/STRING

    Inputs (1)

    NameTypeDefaultDescription
    stringSTRING

    Outputs (1)

    NameTypeDescription
    INTINT