I have a string url like http://google.com. I need to remove 'http://' from the URL. I have tried the method .replace("http://",""), but it is not working.
Web web = org.getWeb();
webUrl = web.getUrl();
out.println("webUrl :"+webUrl );  // here it prints:: http://google.com
webUrl.replace("http://","");
out.println("webUrl :"+webUrl );  // here also it prints:: http://google.com
 
     
     
    