Skip to main content

Split String

Split a string into a list of strings

Holly Conrad Smith avatar
Written by Holly Conrad Smith
Updated this week

Inputs

Name

Abbreviation

Type

Access

Description

String

S

String

Item

The string to split

Separator

S

String

Item

The separator to use

Outputs

Name

Abbreviation

Type

Access

Description

Strings

S

String

List

The split strings

How To:

  1. Feed in a string

    This could be text from any string node, like string, stringify, or an Input Parameter with the string type

  2. Input the separator

    You can type the desired separator into the box, or connect another string node’s output

    The separator is the text element from the initial string that denotes where to split the string into a list.

    IE:

    If this is the feeding string:

    This is item 1, this is item 2, this is item 3

    And you use comma ( , ) as the separator

    Your resulting list will be:

    [

    “this is item 1”,

    “this is item 2”,

    “this is item 3”

    ]

  3. The output is the resulting list of strings

Did this answer your question?