# List to string

## Description

This operation converts a list of comma-separated values (data type `listString`)  into a string of values divided by a specific separator.

***

## Data types

These are the input/output expected data types for this operation:

### Input data

<img src="https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2FktbyAPZKOJf63pDbImwp%2F2025-02-27_12-44-15.png?alt=media&#x26;token=277502c9-554a-4254-8bba-7287c820eb0c" alt="" data-size="line"> - List of comma-separated values.

### Output data

<img src="https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2FEAiKqmMTtuQqEcB1ARyA%2Fimage.png?alt=media&#x26;token=4af58dc3-64ff-4780-aaff-8e73704304ac" alt="" data-size="line"> - Resulting string of values divided by the given separator.

***

## Parameters

These are the parameters you need to configure to use this operation (mandatory parameters are marked with a <mark style="color:red;">**\***</mark>):

<details>

<summary>Separator<mark style="color:red;"><strong>*</strong></mark></summary>

Enter the character(s) you want to use to divide the values in the input string lists.

</details>

***

## Example

Suppose you want to convert a series of lists of comma-separated values into a single string representing those values separated by `/`:

1. In your Pipeline, open the required [Action](https://onum.gitbook.io/onum-docs/the-workspace/pipelines/actions) configuration and select the input **Field**.
2. In the **Operation** field, choose **List to string**.
3. Set **Separator** to `/`.
4. Give your **Output field** a name and click **Save**. The values in your input field will be transformed into a string with its values separated by the given character. For example:

<pre><code><strong>hello,my,world -> hello/my/world
</strong></code></pre>

{% hint style="info" %}
You can try out operations with specific values using the **Input** field above the operation. You can enter the value in the example above and check the result in the **Output** field.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.onum.com/the-workspace/pipelines/actions/transformation/field-transformation/field-transformation-operations/conversion/list-to-string.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
