Returns the last index into the specified vector object which the given object is found.
Syntax
lastIndexOf( vector , object )
lastIndexOf( vector , object , index )
vector.lastIndexOf( object )
vector.lastIndexOf( object , index )
Parameters
vector
|
the vector object to use.
|
object
|
the object to search for.
|
index
|
the starting index into the specified vector object.
|
Returns
integer
|
the index into the specified vector object.
-1 if, the object is not found.
|
Example
i = v.lastIndexOf( o )
|