OpenWGA 7.3 - TMLScript reference
ListMethod :
lastIndexOf(wert)
On object | List |
Usage |
Returns the (last) index position of a value in the list |
Description |
Searches for the given value in the list and, if found, returns the index position of it. Returns -1 if it is not found. If the value is contained in the list more than one time it returns the last occasion. Like list.contains() this method is case sensitive on strings. |
Parameters |
wert: Value whose position is searched in the list |
Return value | Last index position of the value in the list, -1 if it is not contained (Number) |
Allowed in script types |
|