Join Slack
Powered by
<Why replace char doesn't work for Kotlin while ca...
# stackoverflow
u
user
07/06/2022, 9:11 PM
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!
4
Views
Open in Slack
Previous
Next