Good afternoon!
I'm getting a html String to display in a webview.
Within this string there may or may not be images, but for me to display it, I have to pass a base URL before src = \ "crmResources /, example:" link ... " p>
Then I have to save the entire String until I find an image, save it to another variable by concatenating it with a URLBases variable (example: link ), see if there are more images to do the same job and in the end concatenate everything in a String to display in webview.
What would be the best way or logic to do this? Remembering that there may or may not be images, and between them there may be other html elements.