can you help me with this code:
s=br.readLine();
s.replace("ch", "c");
s.replace("ch", "c");
s.replace("sh", "s");
s.replace("zh", "z");
s.replace("Ch", "C");
s.replace("Sh", "S");
s.replace("Zh", "Z");
System.out.println(s);
The problem is that the replace method doesn't work, It doesn't replace the ch,sh,zh chars in the String s, so on the output i still get the same string without change.