| Syntax |
|
| Documentation | Returns the position of the first object in the array which is equal to the given object. The objects may not be the same, just equal. The search is started at position 0. If no match is found -1 is returned.
|
| Examples | |
| $set{a[0]}{Zero} $set{a[1]}{One} $set{a[2]}{Two} Index of 'One' is: $array.indexOf{$get{a}}{One} | |
| Group | Special |
| Minimum required transaction-mode: | NONE |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 2 |
| Maximum parameters | 2 |