Пропустить основной контент

//ERDDAP/com.cohort.util/ScriptString2/splitNoTrim

splitNoTrim

[JVM]
open fun splitNoTrim(s: String, separator: Char): Array<String>

This splits the string at the specified character. A missing final string is treated as "" (not discarded as with String.split).

Return

a String[] with the strings (not canonical). s=null returns null. s="" returns String[1]{""}.

Parameters

JVM

sa string with 0 or more separator chatacters
separator