Pasar al contenido principal

//ERDDAP/com.cohort.util/ScriptString2/stringStartsWith

stringStartsWith

[JVM]
open fun stringStartsWith(ar: Array<Any>, s: String): String

This returns the first element in Object[] (starting at element 0) where the ar[i].toString value starts with s.

Return

the first element ar (as a String) which starts with s (or null if not found)

Parameters

JVM

arthe array of objects
sthe String to be found