I wrote the following code to replace all the spaces in string s with string r (20%). E.g. s = "Mr John Smith", after running the code it should be "Mr20%John20%Smith".I wrote the following code to replace all the s
I wrote the following code to replace all the spaces in string s with string r (20%). E.g. s = "Mr John Smith", after running the code it should be "Mr20%John20%Smith".I wrote the following code to replace all the s