### Join

Basic and Crystal syntax.

##### Overloads

- Join (list)
- Join (list, delimiter)

##### Arguments

- list is a String array containing substrings to be joined.
- delimiter is an optional String used to separate the substrings in the returned string. If omitted, the space character (" ") is used. If delimiter is a zero-length string (""), all items in the list are concatenated with no delimiters.

##### Returns

String value.

##### Action

Join returns a String created by joining a number of substrings contained in an array.

##### Typical use

To convert elements stored in a String array to a single String.

##### Examples

The following examples are applicable to Basic and Crystal syntax.

The examples assume that list is a String array consisting of the 3 elements: "Chocolate", "Vanilla" and "Strawberry".

`Join (list)`

Returns the String "Chocolate Vanilla Strawberry".

`Join (list, "***")`

Returns the String "Chocolate***Vanilla***Strawberry".

##### Comments

This function is designed to work like the Visual Basic function of the same name.

###### Related topics

Split

Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com