Nodes/Basic data handling/split (to data list)
ComfyUI Node

split (to data list)

Splits the string at the specified separator. This node splits the input string at the specified separator and returns a data list containing all parts. If maxsplit is provided, at most maxsplit splits are done. If the separator is not specified or is None, any whitespace string is a separator. Creates a data list of strings.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
split (to data list)
    • STRING
    string
    sep
    maxsplit-1
    CategoryBasic/STRING

    Inputs (3)

    NameTypeDefaultDescription
    stringSTRING
    sepoptSTRING
    maxsplitoptINT-1

    Outputs (1)

    NameTypeDescription
    STRINGSTRING