listContains: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
|name=listContains
|name=listContains
|description=
|description=
Returns number of occurrences of target in list.
Returns number of occurrences of a value in a list.


|usage=
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: listContains(list, target) ]
[h: listContains(list, value) ]
</source>
</source>
}}
}}
[[Category:String List Function]]
[[Category:String List Function]]

Revision as of 23:12, 1 June 2009

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

listContains() Function

Returns number of occurrences of a value in a list.

Usage

[h: listContains(list, value) ]