You could easily use String.replace():
String helloWorld = “Hello World!”;
String hellWrld = helloWorld.replace(“o”,””);
You can use StringBuffer
StringBuffer text = new StringBuffer(“Hello World”);
text.replace( StartIndex ,EndIndex ,String);
by James Palmer
You could easily use String.replace():
String helloWorld = “Hello World!”;
String hellWrld = helloWorld.replace(“o”,””);
You can use StringBuffer
StringBuffer text = new StringBuffer(“Hello World”);
text.replace( StartIndex ,EndIndex ,String);