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