Concatenates a list or element to a list.
string.listAppend( value=string, delimiters=string, includeEmptyFields=boolean )
Returns: String
Argument |
Description |
value
string,
required
|
a string value
|
delimiters
string,
optional
|
Characters that separate list elements. The default value is comma.
If this string contains more than one character, only the first character is used.
Alias: delimiter
|
includeEmptyFields
boolean,
optional
|
if false it cleans up empty fields.
|
Examples
mylist = "one,two,three";
myNewlist = mylist.listAppend("four");
writedump(myNewlist);
See also