indexValueStrProp: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Macros:Functions:indexValueStrProp moved to indexValueStrProp) |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=indexValueStrProp | |name=indexValueStrProp | ||
|version=1.3b42 | |||
|description= | |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= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
indexValueStrProp(prop, index) | |||
</ | </syntaxhighlight> | ||
|example= | |example= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
[indexValueStrProp("a=blah; b=doh; c=meh", 1)] | [indexValueStrProp("a=blah; b=doh; c=meh", 1)] | ||
</ | </syntaxhighlight> | ||
Returns "doh". | Returns "doh". | ||
}} | }} | ||
[[Category:String Property List Function]] | [[Category:String Property List Function]] |
Latest revision as of 16:24, 15 March 2023
indexValueStrProp() Function
• Introduced in version 1.3b42
Returns the value from the specified string property list at the specified index. The index for the string property list starts at 0.
Usage
indexValueStrProp(prop, index)
Example
[indexValueStrProp("a=blah; b=doh; c=meh", 1)]