countStrProp: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Verisimilar (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
= | {{MacroFunction | ||
Returns the number of keys in a [[Macros:string property list|string property list]]. | |name=countStrProp | ||
|description=Returns the number of keys in a [[Macros:string property list|string property list]]. | |||
|usage= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: num = countStrProp(propList)] | [h: num = countStrProp(propList)] | ||
</source> | </source> | ||
|example= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[r: countStrProp("a=blah; b=doh; c=meh")] | [r: countStrProp("a=blah; b=doh; c=meh")] | ||
</source> | </source> | ||
Returns 3. | Returns 3. | ||
}} | |||
[[Category:String Property List Function]] |
Revision as of 01:03, 7 March 2009
countStrProp() Function
Returns the number of keys in a string property list.
Usage
[h: num = countStrProp(propList)]
Example
[r: countStrProp("a=blah; b=doh; c=meh")]