# text.split · Rell standard library · Chromia Docs (concept)

> pure function split(delimiter: text ): list < text > Splits this text around matches of the given delimiter. Examples: 'the cow jumped over the moon'.split

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/text/split/

FUNCTION

# text.split

```signature
pure function split(delimiter: text): list<text>
```

Splits this text around matches of the given delimiter.

Examples:

* `'the cow jumped over the moon'.split(' ')` returns `['the', 'cow', 'jumped', 'over', 'the', 'moon']`.
* `'giggling'.split('g')` returns `['', 'i', '', 'lin', '']`.
* `'espresso'.split('a')` returns `['espresso']`.

**Parameters**

* **delimiter** — the delimiter on which to split

**Returns**

a `list<text>` which is the result of splitting this text at each occurrence of `delimiter`

Since 0.6.0

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/text/split.html)Generated API reference, mirrored from the live docs
