indexValueStrProp: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Added version.)
mNo edit summary
Line 7: Line 7:
|usage=
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: val = indexValueStrProp(prop, index)]
indexValueStrProp(prop, index)
</source>
</source>



Revision as of 11:09, 10 March 2009

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(prop, index)

Example

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