listDelete

From RPTools Wiki
Revision as of 02:48, 9 March 2009 by Merkuri (talk | contribs) (Added MacroFunction template and String List Function category)
Jump to navigation Jump to search

listDelete() Function

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