indexValueStrProp

From RPTools Wiki
Revision as of 16:41, 14 November 2024 by Full Bleed (talk | contribs) (Added delim to Usage and the parameters section.)
Jump to navigation Jump to search

indexValueStrProp() Function

Introduced in version 1.3b42
Returns the value from the specified string property list at the specified index. The index for the string property list starts at 0.

Usage

indexValueStrProp(proplist, index)
indexValueStrProp(proplist, index, delim)

Parameters

  • proplist - String property list to extract data from.
  • index - The numerical index of the element you want returned.
  • delim - Delimiter between fields (default is ";").

Example

[indexValueStrProp("a=blah; b=doh; c=meh", 1)]
Returns "doh".