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

List: from Multiline (lab)

Split a multiline string, each line being a value By default the list elemenrs are strings, but they can be converted Optionally, lines starting with '#' can be ignored.

By bugltd·Created 2 years ago·Updated about a year ago· 10
List: from Multiline (lab)
  • load
  • list
  • count
strip_commentstrue
convertdisabled
multiline
CategoryComfyLab/list

Inputs (4)

NameTypeDefaultDescription
loadBTNload content from file or you can just paste / edit the content below
strip_commentsBOOLEANtrueignore lines starting with '#'
convertCOMBOdisabledconvert each value to int, float or boolean for booleans, values like true/false, yes/no, on/off, 0/1... are accepted.
multilineSTRING

Outputs (2)

NameTypeDescription
listLISTlist of values (one per line, optionally converted)
countINTnumber of values