listDelete: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Macros:Functions:listDelete moved to listDelete: Moved out of the Macros namespace)
(No difference)

Revision as of 02:46, 9 March 2009

Function listDelete

Returns a string list with the specified item deleted from it. The index for the string list

Usage

[h: list = listDelete(list, index)]
[h: list = 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