CombineListWith

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
combine <Target> with <Delimiter>
Associationscom.livecode.typeconvert
Summary

Combines the list of strings in Target, using Delimiter as the delimiter.

Parameters
NameTypeDescription
Target

An expression that evaluates to a list container.

Delimiter

An expression that evaluates to a string.

Example
variable tWords as List
put ["A","List","of","words"] into tWords

variable tString as String
combine tWords with " " into tString
-- tString contains "A List of words"
Values
NameTypeDescription
The result

The combined string.

Description

Use the combine command to convert a list into a string representation of the list.

Note: The list must consist entirely of string elements, otherwise the combine command will throw an error.

Tagstype conversion