---
title: SPLIT
url: https://www.tines.com/docs/formulas/functions/split/
kind: formula-function
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/docs/llms.txt) › [Formulas](https://www.tines.com/llm/docs/formulas.md) › [Functions](https://www.tines.com/llm/docs/formulas/functions.md)*

# SPLIT

*[View on tines.com](https://www.tines.com/docs/formulas/functions/split/)*

Divides the input text into an array using the delimiter as a separator

**Categories:** Text

## Syntax

```
SPLIT(text, delimiter)
```

## Examples

### Example 1

Input:

```json
{
  "my_action": {
    "message": "one,two,three,four,five"
  }
}
```

Formula:

```
SPLIT(my_action.message, ",")
```

Output:

```json
[
  "one",
  "two",
  "three",
  "four",
  "five"
]
```

## Sample actions

```json
{
  "standardLibVersion": "14",
  "actionRuntimeVersion": "4",
  "agents": [
    {
      "disabled": false,
      "name": "My Action",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "message": "one,two,three,four,five"
        }
      },
      "position": {
        "x": 2580,
        "y": -2865
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    },
    {
      "disabled": false,
      "name": "SPLIT",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "split": "=SPLIT(my_action.message, \",\")",
          "split_and_call_index": "=SPLIT(my_action.message, \",\")[2]"
        }
      },
      "position": {
        "x": 2580,
        "y": -2775
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    }
  ],
  "links": [
    {
      "sourceIdentifier": 0,
      "receiverIdentifier": 1
    }
  ],
  "diagramNotes": []
}
```
