indexKeyStrProp: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Verisimilar (talk | contribs) (Applied Template:MacroFunction) |
||
Line 1: | Line 1: | ||
= | {{MacroFunction | ||
|name=indexKeyStrProp | |||
|description= | |||
Returns the key from the specified [[Macros:string property list|string property list]] at the specified index. The index for the [[Macros:string property list|string property list]] starts at 0. | Returns the key from the specified [[Macros:string property list|string property list]] at the specified index. The index for the [[Macros:string property list|string property list]] starts at 0. | ||
|usage= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: val = indexKeyStrProp(prop, index)] | [h: val = indexKeyStrProp(prop, index)] | ||
</source> | </source> | ||
|example= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[indexKeyStrProp("a=blah; b=doh; c=meh", 1)] | [indexKeyStrProp("a=blah; b=doh; c=meh", 1)] | ||
</source> | </source> | ||
Returns "b". | Returns "b". | ||
}} | |||
[[Category:String Property List Function]] |
Revision as of 19:53, 8 March 2009
indexKeyStrProp() Function
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)]
Example
[indexKeyStrProp("a=blah; b=doh; c=meh", 1)]