listAppend

From RPTools Wiki
Revision as of 14:51, 12 January 2024 by Taustin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

listAppend() Function

Introduced in version 1.3b42
Returns a string list with a value appended to the end of the string list.

Usage

listAppend(list, value)
listAppend(list, value, delim)

If delim is not specified then the default value of ',' is used to separate the values in the string list

Examples

[r: listAppend("This, is, a", "test")]

Returns This, is, a, test

[r: listAppend("This: is: a", "test", ":")]
Returns This: is: a: test