News

In this program i have traversed the substring and replaced the character in the string by replace method the char is not accepted in replace method so i have converted char into string and removed ...
Replace substring in a string In this article we are going to make a java program to replace substring in a string . we will be asking the user to input a base string, than we will ask for a substring ...