//ERDDAP/com.cohort.util/ScriptString2/indexOfChar
indexOfChar
[JVM]
open fun indexOfChar(s: String, car: Array<Char>, fromIndex: Int): Int
This indexOf is a little different: it finds the first instance in s of any char in car.
Return
The first instance in s of any char in car. If not found, it returns -1.
Parameters
JVM
s | a string |
car | the chars you want to find any of |
fromIndex | the index number of the position to start the search |