countStrProp: Difference between revisions

From RPTools Wiki
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...)
 
No edit summary
Line 1: Line 1:
==Function countStrProp==
==Function countStrProp==
Returns the number of keys in a [[Macros:Functions:string property list | string property list]].
Returns the number of keys in a [[Macros:string property list|string property list]].


===Usage===
===Usage===

Revision as of 13:21, 1 December 2008

Function countStrProp

Returns the number of keys in a string property list.

Usage

[h: num = countStrProp(propList)]

Examples

[r: countStrProp("a=blah; b=doh; c=meh")]

Returns 3.