take out substring from string

Code Example - take out substring from string

                
                        String helloWorld = "Hello World!";
String hellWrld = helloWorld.replace("o","");