listReplace
listReplace() Function
• Introduced in version 1.3b42
Replaces the element at the specified index of a string list with a new value. If a delimiter is not specified then the default value of ',' is used. The index for lists starts at 0
Returns: This, is, a, silly, test
Usage
listReplace(list, index, value)
listReplace(list, index, value, delim)
Example
[r: listReplace("This, isnt, a , test", 1, "is")]
Returns This, is, a, Test
Example
[r: listReplace("This: isnt: a: test", 1, "is", ":")]
Returns This: is: a: test
Example
[h: ListVar = "This, is, a, great, test"]
[h: ListVar = listReplace(ListVar, 3, "silly")]
[r: ListVar]
Usage
{{{usage}}}