listReplace: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
Replaces the element at the specified index of a [[Macros:string list|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
Replaces the element at the specified index of a [[Macros:string list|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


====Usage====
|Usage
<source lang="mtmacro" line>
<source lang="mtmacro" line>
listReplace(list, index, value)
listReplace(list, index, value)

Revision as of 23:40, 29 June 2009

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

Usage

{{{usage}}}