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

# Split

> Diviser une chaîne de caractères en un tableau

## Présentation

La transformation `split` divise une chaîne de caractères en un tableau à partir d'un délimiteur.

## Syntaxe

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
split(<variable>, delimiter=",")
```

## Paramètres

| Paramètre   | Type   | Requis | Description                                     |
| ----------- | ------ | ------ | ----------------------------------------------- |
| `variable`  | string | Oui    | La chaîne à diviser                             |
| `delimiter` | string | Oui    | Le caractère ou la chaîne servant de délimiteur |

## Exemples

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
split(<variable>, delimiter=",")
split(<variable>, delimiter=" ")
```
