ComfyUI Node

removesuffix

Removes suffix from the string if present. This node returns a copy of the string with the specified suffix removed if the string ends with that suffix, otherwise returns the original string.

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

    Inputs (2)

    NameTypeDefaultDescription
    stringSTRING
    suffixSTRING

    Outputs (1)

    NameTypeDescription
    STRINGSTRING