//ERDDAP/com.cohort.util/ScriptString2/noLongerThanDots
noLongerThanDots
[JVM]
open fun noLongerThanDots(s: String, max: Int): String
This is like noLongerThan, but if truncated, s.substring(0, max-3) + "..." is returned.
Return
s (if it is short) or the first max characters of s
Parameters
JVM
s |
max |