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

//ERDDAP/com.cohort.util/ScriptString2/toVariableName

toVariableName

[JVM]
open fun toVariableName(s: String): String

This suggests a camel-case variable name.

Return

a valid variable name asciiLowerCaseLetter+asciiDigitLetter*, using camel case. This is a simplistic suggestion. Different strings may return the same variable name. null returns "null". "" returns "a".

Parameters

JVM

sthe starting string for the variable name.