indexKeyStrProp: Difference between revisions
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 |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
= | {{MacroFunction | ||
|name=indexKeyStrProp | |||
|version=1.3b42 | |||
|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= | |||
< | <syntaxhighlight lang="mtmacro" line> | ||
indexKeyStrProp(prop, index) | |||
</ | </syntaxhighlight> | ||
|example= | |||
<syntaxhighlight lang="mtmacro" line> | |||
< | |||
[indexKeyStrProp("a=blah; b=doh; c=meh", 1)] | [indexKeyStrProp("a=blah; b=doh; c=meh", 1)] | ||
</ | </syntaxhighlight> | ||
Returns "b". | Returns "b". | ||
}} | |||
[[Category:String Property List Function]] |
Latest revision as of 16:23, 15 March 2023
indexKeyStrProp() Function
• Introduced in version 1.3b42
Returns the key from the specified string property list at the specified index. The index for the string property list starts at 0.
Usage
indexKeyStrProp(prop, index)
Example
[indexKeyStrProp("a=blah; b=doh; c=meh", 1)]