ComfyUI Node
💀Prompts Any To String
Convert any input type to string with advanced formatting and cleaning options.
💀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)
| Name | Type | Default | Description |
|---|---|---|---|
| string_inputopt | STRING | String input to convert | |
| int_inputopt | INT | Integer input to convert | |
| float_inputopt | FLOAT | Float input to convert | |
| remove_whitespaceopt | COMBO | None | Remove whitespace from output |
| remove_special_charsopt | BOOLEAN | false | Remove special characters (keep only alphanumeric and spaces) |
| lowercaseopt | BOOLEAN | false | Convert output to lowercase |
| uppercaseopt | BOOLEAN | false | Convert output to uppercase |
| prefixopt | STRING | Text to add at the beginning | |
| suffixopt | STRING | Text to add at the end | |
| expressionopt | STRING | Python expression to evaluate (use 'value' as the input variable) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |