//ERDDAP/com.cohort.util/ScriptString2/indexOf
indexOf
[JVM]
open fun indexOf(iArray: Array<Int>, i: Int, fromIndex: Int): Int
Finds the first instance of i at or after fromIndex (0.. ) in iArray.
Return
The first instance of i. If not found, it returns -1.
Parameters
JVM
iArray |
i |
fromIndex |
[JVM]
open fun indexOf(iArray: Array<Int>, i: Int): Int
Finds the first instance of i in iArray.
Return
The first instance of i. If not found, it returns -1.