# Combine Texts with Separator

## Overview

This operation allows you to combine multiple text values into a single text, with each value separated by a specified character or symbol (e.g., a comma, semicolon, or dash). For example:

* **Separated by a comma:**`Red`, `Green`, `Blue` -> `Red, Green, Blue`
* **Separated by a colon:** `Monday`, `3:00 PM` -> `Monday: 3:00 PM`
* **Separated by a space:** `John`, `Smith` -> `John Smith`

## Syntax

```
the texts are {list of texts}
get the texts with a {separator}
```

## Data

The table below lists the names of the data elements in this operation and indicates which can be renamed in the syntax.

| Data Name | Can Be Renamed |
| --------- | -------------- |
| the texts | Yes            |

## Parameters

**Parameters** are placeholders for data. Refer to the table below for details on each parameter in this operation. In the syntax, replace parameters with your own values.

<table><thead><tr><th>Parameter</th><th width="261.62890625">Description</th><th width="223.703125">Examples</th><th>Required</th></tr></thead><tbody><tr><td><code>list of texts</code></td><td>The list of texts to be combined.</td><td>"apples", "bananas", "oranges"</td><td>Yes</td></tr><tr><td><code>separator</code></td><td><p>The type of separator. Acceptable values:</p><ul><li>comma</li><li>semicolon</li><li>colon</li><li>tab</li><li>newline</li></ul></td><td>comma</td><td>Yes</td></tr></tbody></table>

## Examples

### 1. Combining Error Messages

{% tabs %}
{% tab title="Automation" %}

```
the error messages are "Error Code 404", "Page Not Found"
get the error messages with a colon
```

{% endtab %}

{% tab title="Results" %}

```
Error Code 404: Page Not Found
```

{% endtab %}
{% endtabs %}

### 2. Joining Items in a Shopping List

{% tabs %}
{% tab title="Automation" %}

```
the shopping list items are "apples", "bananas", "oranges"
get the shopping list items with a comma
```

{% endtab %}

{% tab title="Results" %}

```
apples, bananas, oranges
```

{% endtab %}
{% endtabs %}
