---
title: "join"
canonical: "https://support.appfire.com/space/PSCONF/15303124/join"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | join(string_arr, delimiter) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Returns the string obtained by concatenating all the strings from the array using the provided delimiter.

Returns the string obtained by concatenating all the strings from the array using the provided delimiter.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | string_arr | string [] | Yes | Specifies the strings to be concatenated. |
> | delimiter | String | Yes | Delimiting string. |

## Return Type

**String**

## Example

```javascript
string [] arr = {"boo", "and", "foo"};
return join(arr, ":");
```

Returns "**boo:and:foo**"

## See also

> Macro (contentbylabel)