I have a string that I want to remove a section from.
The section I want to remove starts in <img width and ends with the first instance of />
I want to remove this whole img tag completely.
I've got the following but it requires an entire string to remove whereas I only have the start and end, as the middle changes.
String string = var.replace("string to replace but dont have entire", "");
0 comments:
Post a Comment