listDelete

From RPTools Wiki
(Redirected from macros:Functions:listDelete)
Jump to navigation Jump to search

listDelete() Function

Introduced in version 1.3b42
Returns a string list with the specified item deleted from it. The index for the string list

Usage

listDelete(list, index)
listDelete(list, index, delim)

If delim is not specified then the default value of ',' is used as the value separator in the string list

Example

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