# Split

## Overview

![The Split Node.](https://926825830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKQhJdUBr7YQzfIwmpAZ9%2Fuploads%2Fgit-blob-75f40af14890249fc60509002afced1be30ef9a9%2Fsplitnode.png?alt=media)

The **Split** **Node** separates a **String** into two or more **Strings**. It receives as inputs the **String** to separate and a delimiter **String**, which marks where the separations will be made. Thus, if the **String** to split is `abcdecba` and the delimiter is `c`, the resulting **Strings** will be `ab`, `de`, and `ba`.

The resulting **Strings** are outputted in an **Array**.

In the case that the delimiter is not contained in the **String** to separate, the output is an **Array** containing just the original **String**.

[**Scope**](https://docs.incari.com/incari-studio/2022.1/overview#scopes): **Project**, **Scene**, **Function**, **Prefab**.

## Attributes

![The Split Node Attributes.](https://926825830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKQhJdUBr7YQzfIwmpAZ9%2Fuploads%2Fgit-blob-aa71ccd0925a6d90cf20893de59f2fa809c40392%2Fsplitattributes.png?alt=media)

### Inputs

| Attribute   | Type       | Description                                                                              |
| ----------- | ---------- | ---------------------------------------------------------------------------------------- |
| `String`    | **String** | **String** to be separated, if none is given in the **Input Socket**.                    |
| `Delimiter` | **String** | **String** that marks where to split `String`, if none is given in the **Input Socket**. |

## Inputs

| Input             | Type       | Description                                                           |
| ----------------- | ---------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**  | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `String`          | **String** | **String** to be separated.                                           |
| `Delimiter`       | **String** | **String** that marks where to split `String`.                        |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `Array`            | **Array** | **Array** containing the **Strings** that resulted from the split.                                                                     |

## See Also

* [**Concat Strings**](https://docs.incari.com/incari-studio/2022.1/toolbox/string/concatstrings)
