Elimina la subcadena de la cadena
String helloWorld = "Hello World!";
String hellWrld = helloWorld.replace("o","");
Upvote answer :-)
String helloWorld = "Hello World!";
String hellWrld = helloWorld.replace("o","");