> 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-es/reglas-edicion-masiva-y-enriquecimiento/como-utilizar-acciones-entonces-en-las-reglas/accion-de-regla-dividi-testo-in-un-elenco.md).

# Acción de regla: dividi testo in un elenco

Se usa para: crear una lista a partir de un campo que contiene múltiples valores (separados por un carácter concreto).

Se usa en: sentencias "THEN" y sentencias "ELSE".

Necesitas una lista en un campo si quieres usar reglas que operen sobre listas (por ejemplo: dividir lista, dividir productos, ordenar lista). La regla "Split text to list" puede crear esta lista por ti.

Para crear una lista en un campo, ese campo debe contener múltiples valores separados por un carácter específico. Ejemplos de valores de campo de este tipo:

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

Con la regla "Split text to list" eliges en qué carácter dividir (por ejemplo: coma, punto y coma o barra). La regla crea un elemento de lista por cada valor separado. Por ejemplo, las capturas de pantalla siguientes muestran cómo dividir un campo que contiene tallas (separadas por comas) en una lista.

<figure><img src="/files/b21e8b770b48cd285a7b5dd60b10a6fafaed58da" alt=""><figcaption></figcaption></figure>

Así era el campo "size" antes de aplicar esta regla:

<figure><img src="/files/35afa2b93da28c2a916c4b02e4fb0475cbe8bb34" alt=""><figcaption></figcaption></figure>

Y así es ese mismo campo después de aplicar la regla:

<figure><img src="/files/2f43ea1cf89d40e15215b6b9eb0d3cc060a6e8c9" alt=""><figcaption></figcaption></figure>

Después de esto podrías, por ejemplo, usar la regla Split products para crear un producto por cada talla en la 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-es/reglas-edicion-masiva-y-enriquecimiento/como-utilizar-acciones-entonces-en-las-reglas/accion-de-regla-dividi-testo-in-un-elenco.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
