e.g.
String a = "yyyy";
I want to replace the second y with x;
But, if I type
a = a.replace(a,charAt(1),'x');
All four y will become x, pretty annoying!