ComfyUI Node

XStringGroup

Group multiple strings with customizable separation methods and select one to output

By Xz3r0-M·Created 7 months ago·Updated 22 days ago· 11
XStringGroup
    • total_string
    • selected_string
    • string_1
    • string_2
    • string_3
    • string_4
    • string_5
    select_string1
    string_1
    separation_method_1_2none
    string_2
    separation_method_2_3none
    string_3
    separation_method_3_4none
    string_4
    separation_method_4_5none
    string_5
    Category♾️ Xz3r0/Workflow-Processing

    Inputs (10)

    NameTypeDefaultDescription
    select_stringCOMBO1Select which string to output (1-5)
    string_1STRINGFirst multiline string input
    separation_method_1_2COMBOnoneSeparation method between String 1 and String 2 (none: '', newline: \n, space: ' ', comma: ',', comma_space: ', ', period: '.', period_space: '. ')
    string_2STRINGSecond multiline string input
    separation_method_2_3COMBOnoneSeparation method between String 2 and String 3 (none: '', newline: \n, space: ' ', comma: ',', comma_space: ', ', period: '.', period_space: '. ')
    string_3STRINGThird multiline string input
    separation_method_3_4COMBOnoneSeparation method between String 3 and String 4 (none: '', newline: \n, space: ' ', comma: ',', comma_space: ', ', period: '.', period_space: '. ')
    string_4STRINGFourth multiline string input
    separation_method_4_5COMBOnoneSeparation method between String 4 and String 5 (none: '', newline: \n, space: ' ', comma: ',', comma_space: ', ', period: '.', period_space: '. ')
    string_5STRINGFifth multiline string input

    Outputs (7)

    NameTypeDescription
    total_stringSTRINGOutput of all grouped strings (with separation methods)
    selected_stringSTRINGSelected string output based on select_string
    string_1STRINGOriginal output of String 1
    string_2STRINGOriginal output of String 2
    string_3STRINGOriginal output of String 3
    string_4STRINGOriginal output of String 4
    string_5STRINGOriginal output of String 5