//ERDDAP/com.cohort.util/ScriptString2/lineContainingIgnoreCase
lineContainingIgnoreCase
[JVM]
open fun lineContainingIgnoreCase(ar: Array<Any>, s: String, startAt: Int): Int
This finds the first element in Object[] (starting at element startAt) where the ar[i].toString value contains the substring s (ignoring the case of ar and s).
Return
the element number of ar which is equal to s (or -1 if not found)
Parameters
JVM
ar | the array of objects |
s | the String to be found |
startAt | the first element of ar to be checked. If startAt <0, this starts with startAt = 0. |