> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# SPLIT

> The SPLIT function splits text into multiple text segments by a specified separator. It can be used in various YiDA scenarios, such as forms, workflow design, and integration & automation. The function takes the source text and a text separator as parameters, and returns a list of the split text segments.

The **SPLIT** function splits text into multiple text segments by a specified separator.

## Supported Product Scenarios

You can use the SPLIT function in the following YiDA scenarios:

* Form (main table fields)
* Form (business association rules)
* Form (validation)
* Workflow design (validation rules)
* Workflow design (association actions)
* Integration & automation
* Workflow - node
* Connector

## Format

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
SPLIT(text, text_separator)
```

## Attribute Description

| **Attribute**   | **Required** | **Description**                                                   |
| --------------- | ------------ | ----------------------------------------------------------------- |
| text            | Yes          | The source text to split.                                         |
| text\_separator | Yes          | The text separator. If the separator is a comma, write it as `\`. |

## Return Value

| **Return type** | **Description**                  |
| --------------- | -------------------------------- |
| Text            | The list of split text segments. |

## Usage Example

The formula returns: `["YiDA","low-code","app","development platform"]`.

## Try It Out

To split text into an array by a specified string, use this function together with the **ARRAYGET** function.
