Nodes/ComfyLab Pack/List: from String (lab)
ComfyUI Node

List: from String (lab)

Split a single string into elements delimited by a separator By default the list elements are strings, but they can be converted.

By bugltd·Created 2 years ago·Updated about a year ago· 10
List: from String (lab)
    • list
    • count
    string
    separator,
    convertdisabled
    CategoryComfyLab/list

    Inputs (3)

    NameTypeDefaultDescription
    stringSTRINGsingle string to be splitted by separator
    separatorSTRING,element seperator (spaces surrounding values will be trimmed)
    convertCOMBOdisabledconvert each value to int, float or boolean for booleans, values like true/false, yes/no, on/off, 0/1... are accepted.

    Outputs (2)

    NameTypeDescription
    listLISTlist of values, splitted using the separator, optionally converted
    countINTnumber of values