# array.toList()

Transform the array to a list of elements delimiter by the given string

```
array.toList( delimiter=string )
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| delimiter | string | No | Character or multicharacter string to separate list elements. The default value is comma. *Alias: delimiters* |  |

# Examples

```cfml
myarray = ["one","two","three","four","five"];
res = myarray.tolist();
writeDump(res);
```

# Categories

[Arrays](../../../categories/array.md), [Lists](../../../categories/list.md), [Strings](../../../categories/string.md)

# See Also

[ArrayToList()](../../functions/arraytolist.md), [Array](../array.md)