//ERDDAP/com.cohort.util/ScriptString2/replaceAllIgnoreCase
replaceAllIgnoreCase
[JVM]
open fun replaceAllIgnoreCase(s: String, oldS: String, newS: String): String
Returns a string where all occurences of oldS have been replaced with newS. If oldS occurs inside newS, it won't be replaced recursively (obviously). When finding oldS in s, their case is irrelevant.
Return
a modified version of s, with newS in place of all the olds. throws RuntimeException if s is null.
Parameters
JVM
s | the main string |
oldS | the string to be searched for |
newS | the string to replace oldS |