Головна

//ERDDAP/com.cohort.util/ScriptString2/annotatedString

annotatedString

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

This converts non-isPrintable characters to "[#]". \n generates both [10] and a newline character.

Return

s, but with non-32..126 characters replaced by [#]. The result ends with "[end]". null returns "[null][end]".

Parameters

JVM

sthe string