Nehmen Sie das Substring von String heraus
String helloWorld = "Hello World!";
String hellWrld = helloWorld.replace("o","");
Upvote answer :-)
String helloWorld = "Hello World!";
String hellWrld = helloWorld.replace("o","");