I'm new to this group and this is my first post. So I have a very simple problem. Please give your valuable suggestion.
String name ="Hello and Hello Java";
I want to replace the last occurrence of Hello in the above line. So the input string can be any line and replace text be any text? Please post your suggestion.