Nodes/ComfyUI_EmAySee_CustomNodes/EmAySee REALLY Unique String Selector
ComfyUI Node

EmAySee REALLY Unique String Selector

The 'REALLY Unique String Selector' is just a two-way string switch — and that's fine

By EmAySee·Created about a year ago·Updated 4 months ago· 2
EmAySee REALLY Unique String Selector
    • SELECTED_STRING
    string_input_1Input String 1
    string_input_2Input String 2
    select_inputstring_input_1

    Let's get the elephant out of the room: the display name is "EmAySee REALLY Unique String Selector" and the class name is EmAySee_VeryUniqueStringSelectorNode, and neither is remotely true. What this node does is take two strings and pick one of them with a dropdown. That's it. It's the most ordinary node in the pack, wrapped in a joke of a name.

    Which is not to say it's useless. It's a two-way string switch - the prompt-editing equivalent of an A/B toggle. You have:

    • string_input_1 and string_input_2 - the two candidate strings (free text, defaults "Input String 1"/"Input String 2").
    • select_input - a dropdown that literally lists the two input names, string_input_1 and string_input_2.
    • SELECTED_STRING - the single STRING output, carrying whichever input the dropdown points at.

    Mechanically it's an if/else: if the dropdown says string_input_1, output the first string; if it says the other, output the second. There's no dynamic anything, no third option, no fancy selection logic despite the name. Under the hood the class is even internally called EmAySee_StringSelectorNode - the "REALLY Unique" branding is a display-name-only artifact.

    So where would you actually use it? String-switch patterns pop up in real workflows: swap between two prompt variants without deleting nodes, toggle a positive/negative phrasing, switch between two filenames, or pick between two date formats. It's the string version of a boolean toggle, and for that it works exactly as advertised. If you need more than two options, look at the pack's Dynamic String Selector or any of its random/probability selectors instead - this one is deliberately minimal.

    One genuine quirk: the category is EmAySee_Utils, so it shows up in the Utils menu group, not under the pack's EmAySee/Text or string categories. If you go hunting for it after reading the README (which lists it under EmAySee_String), you'll look in the wrong place first.

    How to install

    Same pack, same install:

    cd ComfyUI/custom_nodes
    git clone https://github.com/EmAySee/ComfyUI_EmAySee_CustomNodes
    

    Restart ComfyUI, or search ComfyUI_EmAySee_CustomNodes in ComfyUI Manager. Zero dependencies beyond ComfyUI itself - there's no requirements.txt and nothing to download.

    Where people trip up

    • The dropdown holds the input names, not their values. You select string_input_1, and the node outputs whatever text is currently in the string_input_1 field. If you change the text, the dropdown selection stays valid.
    • The output name is loud. It's SELECTED_STRING in caps - just the RETURN_NAME, don't read anything into it.
    • It's a fixed two-way switch. Expecting a "REALLY unique" selection mode will only lead to disappointment. Use it for exactly what it is: the simplest string switch in ComfyUI.

    If you want to be slightly offended by a name and then save two nodes' worth of space in a workflow, this is your node. If you want anything more complex, move along - the joke is the whole product.

    CategoryEmAySee_Utils

    Inputs (3)

    NameTypeDefaultDescription
    string_input_1STRINGInput String 1
    string_input_2STRINGInput String 2
    select_inputCOMBOstring_input_12 options: string_input_1, string_input_2

    Outputs (1)

    NameTypeDescription
    SELECTED_STRINGSTRING