ComfyUI Node

escape

Escapes a string by converting special characters to escape sequences. This node converts characters like newlines, tabs, quotes, and backslashes to their escaped representation (like ' ', ' ', '"', '\'). Useful when you need to prepare strings for formats that require escaped sequences instead of literal special characters.

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

    Inputs (1)

    NameTypeDefaultDescription
    stringSTRING

    Outputs (1)

    NameTypeDescription
    STRINGSTRING