countStrProp: Difference between revisions
Jump to navigation
Jump to search
(New page: ==Function countStrProp== Returns the number of keys in a string property list. ===Usage=== <source lang="mtmacro" line> [h: num = countStrProp...) |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
= | {{MacroFunction | ||
Returns the number of keys in a [[Macros | |name=countStrProp | ||
|version=1.3b42 | |||
|description=Returns the number of keys in a [[Macros:string property list|string property list]]. | |||
|usage= | |||
< | <syntaxhighlight lang="mtmacro" line> | ||
countStrProp(propList) | |||
</ | </syntaxhighlight> | ||
|example= | |||
< | <syntaxhighlight lang="mtmacro" line> | ||
[r: countStrProp("a=blah; b=doh; c=meh")] | [r: countStrProp("a=blah; b=doh; c=meh")] | ||
</ | </syntaxhighlight> | ||
Returns 3. | Returns 3. | ||
}} | |||
[[Category:String Property List Function]] |
Latest revision as of 18:53, 14 March 2023
countStrProp() Function
• Introduced in version 1.3b42
Returns the number of keys in a string property list.
Usage
countStrProp(propList)
Example
[r: countStrProp("a=blah; b=doh; c=meh")]