<Why replace char doesn't work for Kotlin while ca...
# stackoverflow
u
Why replace char doesn't work for Kotlin while calling regular replace on char function [duplicate] I am calling replace() on a string to change the chars but for some reason it does not change it. var result = "Hi!" result.replace('i','z') In logs I still see Hi!