> 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-it/regole-modifica-in-blocco-e-arricchisci/come-usar-le-azioni-causa-en-regole/azione-della-regola-separa-texto-para-lista.md).

# Azione della regola: Separa Texto Para Lista

Utilizzato per: creare una lista da un campo che contiene valori multipli (separati da un carattere specifico).

Usato in: istruzioni "THEN" e istruzioni "ELSE".

Hai bisogno di una lista in un campo se vuoi usare regole che operano su liste (per esempio: slice list, split products, sort list). La regola "Split text to list" può creare questa lista per te.

Per creare una lista in un campo, quel campo deve contenere più valori separati da un carattere specifico. Esempi di valori di campo di questo tipo:

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

Con la regola "Split text to list" scegli su quale carattere dividere (per es., virgola, punto e virgola o pipe). La regola crea un elemento della lista per ogni valore separato. Per esempio, gli screenshot qui sotto mostrano la divisione di un campo contenente taglie (separate da virgola) in una lista.

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

Così appariva il campo "size" prima di questa regola:

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

E così appare lo stesso campo dopo l'applicazione della regola:

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

Dopo questo puoi, ad esempio, usare la regola Split products per creare un prodotto per ogni taglia presente nella lista.


---

# 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-it/regole-modifica-in-blocco-e-arricchisci/come-usar-le-azioni-causa-en-regole/azione-della-regola-separa-texto-para-lista.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.
