indexKeyStrProp: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function indexKeyStrProp== Returns the key from the specified Macros:string property list at the specified index. The index for the Macros:string property list starts at 0. ==...)
 
No edit summary
Line 4: Line 4:
===Usage===
===Usage===
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: key = indexKeyStrProp(prop, index)]
[h: val = indexKeyStrProp(prop, index)]
</source>
</source>



Revision as of 00:58, 2 December 2008

Function indexKeyStrProp

Returns the key from the specified string property list at the specified index. The index for the string property list starts at 0.

Usage

[h: val = indexKeyStrProp(prop, index)]


Examples

[indexKeyStrProp("a=blah; b=doh; c=meh", 1)]

Returns "b".