listDelete

From RPTools Wiki
Revision as of 16:26, 6 December 2008 by Craig (talk | contribs) (New page: ==Function listDelete== Returns a string list with the specified item deleted from it. The index for the Macros:string list ===Usage=== <source lang="mtmacro...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function listDelete

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

Usage

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