This is my first post in this site. I have a sentence like this
String input = "India/world is my Country and it is in Asia/in world";
I want to remove the word followed by the / and get the result of otheres.
India is my Country and it is in Asia
I have tried using switch, by declaring in character. i would like to get the result without using the character. could any one help me?