//ERDDAP/com.cohort.util/ScriptString2/lineStartsWithIgnoreCase
lineStartsWithIgnoreCase
[JVM]
open fun lineStartsWithIgnoreCase(ar: Array<Any>, s: String): Int
This variant of lineStartsWith startsAt index=0.
Return
the element number of ar which starts with s (or -1 if not found)
Parameters
JVM
ar | the array of objects, e.g., including LATITUDE |
s | the String to be found, e.g., Lat |
[JVM]
open fun lineStartsWithIgnoreCase(ar: Array<Any>, s: String, startAt: Int): Int
This is like lineStartsWith, but ignores case.
Return
the element number of ar which starts with s (or -1 if not found)
Parameters
JVM
ar | the array of objects, e.g., including LATITUDE |
s | the String to be found, e.g., Lat |
startAt | the first element of ar to be checked. If startAt <0, this starts with startAt = 0. |