---
title: "array:join — Join array items"
description: "iXML command array:join: Join array items."
canonical_url: "https://www.zeyos.com/ixml/ref/array-join"
markdown_url: "https://www.zeyos.com/ai/guide/ixml/ref/array-join.md"
section: "ixml-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/ixmldoc.xml"
source_sha256: "a23f04e6a98628ca3c273c3b8dd2c33c034cfda3e0f00478d8793074fd2f70dd"
---

# array:join — Join array items

ARRAY:JOIN joins the items of an array together to form a string representation with each value separated by a given delimiter.

A given key may specify the column of a multidimensional array to join by. If however, the key is omitted, then the array is treated as an unidimensional list.

### Attributes
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| var | var |  | Variable name |
| var_result | var |  | Result variable name |
| delimiter | string |  | Delimiter |

### Children
- (none)

### Parents
- (not restricted in the reference)

### Result
- binding: var_result; type: string

### Examples

```xml
<array var="names">
	<item>Bill Gates</item>
	<item>Steve Jobs</item>
	<item>Larry Ellison</item>
</array>

<output>
	<array:join var="names" delimiter=", "/>
</output>

<!-- Bill Gates, Steve Jobs, Larry Ellison -->
```
