CombineListWith |
Type | statement |
Dictionary | LCB |
Library | LiveCode Builder |
Syntax | combine <Target> with <Delimiter>
|
Associations | com.livecode.typeconvert |
Summary | Combines the list of strings in Target, using Delimiter
as the delimiter.
|
Parameters | Name | Type | Description |
---|
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
|
Values | Name | Type | Description |
---|
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.
|
Tags | type conversion |