//ERDDAP/com.cohort.util/ScriptString2/substitute
substitute
[JVM]
open fun substitute(msg: String, s0: String, s1: String, s2: String): String
This replaces "{0}", "{1}", and "{2}" in msg with s0, s1, s2.
Return
the modified msg
Parameters
JVM
| msg | a string which may contain "{0}", "{1}", and/or "{2}". |
| s0 | the first substitution string. If null, that substitution won't be attempted. |
| s1 | the second substitution string. If null, that substitution won't be attempted. |
| s2 | the third substitution string. If null, that substitution won't be attempted. |