//ERDDAP/com.cohort.util/ScriptString2/noLongLinesAtSpace
noLongLinesAtSpace
[JVM]
open fun noLongLinesAtSpace(s: String, maxLength: Int, spaces: String): String
This is like noLongLines, but will only break at spaces.
Return
the content of s, but with no long lines
Parameters
JVM
s | a String with multiple lines, separated by \n's |
maxLength | the maximum line length allowed |
spaces | the string to be inserted after the inserted newline, e.g., " " |