Posts by Marcelo Melo • 23 points
1 post
-
1
votes2
answers81
viewsQ: How do I replace characters from a string, right to left, cumulatively?
I’m trying to write a function that gets a String and replaces its characters from right to left, for zero. I would also like to do this cumulatively and save the changes. For example: String teste…