How to replace a character in a string without using the replace()method?
like
String ab= "hellohello";
String bc= "ll";
String cd= "ss";
The output should be "hessohesso" after printing the variable ab without using replace() method on console. Can anybody help me?