lastIndexOf"
From Documentation
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
<source lang="java"> | <source lang="java"> | ||
− | + | int lastIndexOf(Object value, Object element); | |
</source> | </source> | ||
− | :i.e., <javadoc method=" | + | :i.e., <javadoc method="lastIndexOf(java.lang.Object, java.lang.Object)">org.zkoss.xel.fn.CommonFns</javadoc> |
− | + | Returns the index within the value of the last occurrence of the specified element. | |
'''Parameters:''' | '''Parameters:''' | ||
− | * value - the value to | + | * value - the value to test. If it is an instance of String, String.lastIndexOf() is called. If it is a list or an array, all of its elements are examined one-by-one. It does not support Collection and Map. |
− | * | + | * element - the element to test. |
=Version History= | =Version History= |
Latest revision as of 08:15, 8 March 2011
int lastIndexOf(Object value, Object element);
Returns the index within the value of the last occurrence of the specified element.
Parameters:
- value - the value to test. If it is an instance of String, String.lastIndexOf() is called. If it is a list or an array, all of its elements are examined one-by-one. It does not support Collection and Map.
- element - the element to test.
Version History
Version | Date | Content |
---|---|---|
5.0.7 | March, 2011 | This method was introduced |