For example, I have a bunch of HTML entries ending in /"> and I want everything BEFORE this chunk. Is there a built-in method to get this done?
Maybe there is something like replaceOcurrencesOfString()
that looks something like removeRangeAfterOcurrenceOfString()
?
Example:
I need this:
some-html-link-ending/">
To look like this:
some-html-link-ending