Μετάβαση στο κύριο περιεχόμενο

//ERDDAP/com.cohort.util/ScriptString2/findInvalidUnicode

findInvalidUnicode

[JVM]
open fun findInvalidUnicode(s: String, alsoOK: String): Int

This returns the index of the first non-Unicode character. Currently, valid characters are #32 - #126, #160+.

Return

the index of the first non-utf-8 character, or -1 if all valid.

Parameters

JVM

s
alsoOK