Nodes/ComfyUI Prepack/đź’€Prepack Int Split
ComfyUI Node

đź’€Prepack Int Split

Split a string into up to four integers using selectable separator (comma, semicolon, space, newline, or forward slash).

By S4MUEL-404·Created 11 months ago·Updated 9 months ago· 2
đź’€Prepack Int Split
    • int1
    • int2
    • int3
    • int4
    â—„input_string0,0â–ş
    â—„separatorCommaâ–ş
    Categoryđź’€Prepack

    Inputs (2)

    NameTypeDefaultDescription
    input_stringSTRING0,0String containing up to four integers separated by the chosen separator.
    separatorCOMBOCommaSeparator used between the integers in the input string.

    Outputs (4)

    NameTypeDescription
    int1INTFirst integer extracted from the input string.
    int2INTSecond integer extracted from the input string.
    int3INTThird integer extracted from the input string (0 if not present).
    int4INTFourth integer extracted from the input string (0 if not present).