Nodes/ComfyUI-PromptsO/💀Prompts Any To String
ComfyUI Node

💀Prompts Any To String

Convert any input type to string with advanced formatting and cleaning options.

By S4MUEL-404·Created 11 months ago·Updated 9 months ago· 3
💀Prompts Any To String
    • text
    string_input
    int_input
    float_input
    remove_whitespaceNone
    remove_special_charsfalse
    lowercasefalse
    uppercasefalse
    prefix
    suffix
    expression
    Category💀PromptsO

    Inputs (10)

    NameTypeDefaultDescription
    string_inputoptSTRINGString input to convert
    int_inputoptINTInteger input to convert
    float_inputoptFLOATFloat input to convert
    remove_whitespaceoptCOMBONoneRemove whitespace from output
    remove_special_charsoptBOOLEANfalseRemove special characters (keep only alphanumeric and spaces)
    lowercaseoptBOOLEANfalseConvert output to lowercase
    uppercaseoptBOOLEANfalseConvert output to uppercase
    prefixoptSTRINGText to add at the beginning
    suffixoptSTRINGText to add at the end
    expressionoptSTRINGPython expression to evaluate (use 'value' as the input variable)

    Outputs (1)

    NameTypeDescription
    textSTRING