> For the complete documentation index, see [llms.txt](https://helpcenter.channable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-nl/regels-bulkbewerken-en-verrijken/acties-dan-gebruiken-in-regels/regelactie-transformeer-tekst-naar-lijst.md).

# Regelactie: transformeer tekst naar lijst

Wordt gebruikt voor: het aanmaken van een lijst uit een veld dat meerdere waarden bevat (gescheiden door een bepaald teken).

Gebruikt in: "THEN"-uitspraken en "ELSE"-uitspraken.

Je hebt een lijst in een veld nodig als je regels wilt gebruiken die op lijsten werken (bijvoorbeeld: slice list, split products, sort list). De regel "Split text to list" kan deze lijst voor je aanmaken.

Om een lijst in een veld aan te maken, moet dat veld meerdere waarden bevatten die door een specifiek teken zijn gescheiden. Voorbeelden van zulke veldwaarden:

* XXS, XS, S, M, L, XL, XXL
* 32; 33; 34; 35; 36
* 8719322525833|8719322525468|8719322521125|8719322527776|871932252390

Met de regel "Split text to list" kies je op welk teken je wilt splitsen (bijv. komma, puntkomma of pipe). De regel maakt een lijstelement voor elke gescheiden waarde. In de screenshots hieronder zie je bijvoorbeeld hoe een veld met maten (gescheiden door komma) in een lijst wordt gesplitst.

<figure><img src="https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/vU1KOYdH0OLSeDmCmSm6/split_text_to_list.PNG" alt=""><figcaption></figcaption></figure>

Zo zag het "size"-veld eruit voordat deze regel werd toegepast:

<figure><img src="https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/QUomu9oksxIeLX5EFfAd/size_after.PNG" alt=""><figcaption></figcaption></figure>

En zo ziet hetzelfde veld eruit na het toepassen van de regel:

<figure><img src="https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/NZ0qwJoTN0KBGc8FQLgf/size_before.PNG" alt=""><figcaption></figcaption></figure>

Daarna kun je bijvoorbeeld de regel Split products gebruiken om voor elke maat in de lijst een product aan te maken.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-nl/regels-bulkbewerken-en-verrijken/acties-dan-gebruiken-in-regels/regelactie-transformeer-tekst-naar-lijst.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
