countStrProp

From RPTools Wiki
Revision as of 23:59, 14 November 2024 by Full Bleed (talk | contribs) (Added delim to usage and added parameters section.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

countStrProp() Function

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

Usage

countStrProp(propList)
countStrProp(propList, delim)

Parameters

  • proplist - String property list to extract data from.
  • delim - Delimiter between fields (default is ";").

Example

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