ComfyUI Node

strip

Removes leading and trailing characters from the string. This node returns a copy of the string with both leading and trailing characters removed. If chars is provided, it specifies the set of characters to be removed. If chars is not provided, whitespace characters are removed.

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

    Inputs (2)

    NameTypeDefaultDescription
    stringSTRING
    charsoptSTRING

    Outputs (1)

    NameTypeDescription
    STRINGSTRING