replace

fun replace(token: String, newToken: String)(source)

Since Kotlin

1.1
fun replace(token: String, newToken: String)(source)

Since Kotlin

1.8