Nodes/ComfyUI-lhyNodes/String Format (Advanced)
ComfyUI Node

String Format (Advanced)

Format and output the text containing placeholders "{}" according to the variables.

By lihaoyun6·Created 11 months ago·Updated 5 days ago· 20
String Format (Advanced)
    • string
    format
    value1
    switch1true
    value2
    switch2true
    value3
    switch3true
    value4
    switch4true
    value5
    switch5true
    value6
    switch6true
    CategorylhyNodes/String

    Inputs (13)

    NameTypeDefaultDescription
    formatSTRING
    value1STRING
    switch1BOOLEANtrue
    value2STRING
    switch2BOOLEANtrue
    value3STRING
    switch3BOOLEANtrue
    value4STRING
    switch4BOOLEANtrue
    value5STRING
    switch5BOOLEANtrue
    value6STRING
    switch6BOOLEANtrue

    Outputs (1)

    NameTypeDescription
    stringSTRING