string.listAppend()

Concatenates a list or element to a list.

string.listAppend( value [, delimiters ] )

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

Examples

mylist = "one,two,three"; 
	myNewlist = mylist.listAppend("four");
	writedump(myNewlist);

See also