can anyone show me how to write a program that can replace a character with another character but not just a single character, a group of characters also.
Printable View
can anyone show me how to write a program that can replace a character with another character but not just a single character, a group of characters also.
Use a loop that increments the index number it is looking at, and changes the character. Java has an edit()function that could be useful.