
name.remal.kotlin.String.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common Show documentation
Show all versions of common Show documentation
Java & Kotlin tools: common
The newest version!
package name.remal
fun String.replace(fromTo: Map, ignoreCase: Boolean = false): String {
var result = this
for (entry in fromTo) {
result = result.replace(entry.key, entry.value, ignoreCase)
}
return result
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy