Clean String Adv. ๐Ÿฒ

Ryuu_CleanStringAdvanced

Cleans up and formats the given text with a set of optional filters: - Strip whitespace (off/left/right/both) from the input string - Remove or add trailing comma from the input string - Collapse multiple spaces in the input string - Convert to lowercase/uppercase and more - Control newline handling (off/remove empty/collapse lines) Useful for normalizing input strings for consistent processing.

Pack: ComfyUI-RyuuNoodles

custom_nodes.ComfyUI-RyuuNoodles

Inputs (7)

NameTypeRequired
input_textSTRINGrequired
stripCOMBOrequired
trailing_commasCOMBOrequired
newlinesCOMBOrequired
collapseCOMBOrequired
remove_duplicate_tagsBOOLEANrequired
caseCOMBOrequired

Outputs (1)

NameType
textSTRING