Skip a fő tartalomhoz

//ERDDAP/com.cohort.util/ScriptString2/toSVString

toSVString

[JVM]
open fun toSVString(ar: Array<Any>, separator: String, finalSeparator: Boolean): String

This is used at a low level to generate a 'separator'-separated-value string (without newlines) with the element.toString()'s from the array.

Return

a separator-separated-value String. Returns null if ar is null. null elements are represented as "[null]".

Parameters

JVM

aran array of objects (for an ArrayList or Vector, use o.toArray())
separatorthe separator string
finalSeparatorif true, a separator will be added to the end of the resulting string (if it isn't "").