//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
ar | an array of objects (for an ArrayList or Vector, use o.toArray()) |
separator | the separator string |
finalSeparator | if true, a separator will be added to the end of the resulting string (if it isn't ""). |