countStrProp

From RPTools Wiki
Revision as of 17:08, 14 March 2023 by Taustin (talk | contribs) (Text replacement - "source>" to "syntaxhighlight>")
Jump to navigation Jump to search

countStrProp() Function

Introduced in version 1.3b42
Returns the number of keys in a string property list.

Usage

<source lang="mtmacro" line> countStrProp(propList) </syntaxhighlight>

Example

<source lang="mtmacro" line>

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

Returns 3.