TinyTerra / ComfyUI_tinyterraNodes

A selection of nodes for Stable Diffusion ComfyUI
GNU General Public License v3.0
422 stars 45 forks source link

FR: advPlot string S&R #154

Open DrJKL opened 1 month ago

DrJKL commented 1 month ago

Similar to the current string set, but with a target string and a list of replacement values?

DrJKL commented 1 month ago

Not sure if there's a simple way to already do this in the current node.

TinyTerra commented 1 month ago

Search and Replace: if you include %search;replace% as the value it will use the current nodes value and do a search and replace using these values. you can include more than one to replace different strings

It is not functioning as it should, let me know

DrJKL commented 1 month ago

Yeah, I think it's working properly, this would be more of a convenience thing. Here's an example workflow: __00012

I'd just like to not have to repeat the search string for each replace value.

TinyTerra commented 1 month ago

Ah I see, I've added a replace mode to the string node - setting it to true will show a search_text widget

image