Can someone help me create a method that overrides the characters of a String? For example,
String nova = antiga.replace('a','1');
This only replaces a letter.
I wanted to create a method for all the other letters of the alphabet that I could use whenever I wanted to replace the characters of a given String.