Information générale
Catégorie:
Codage, syntaxe et commandes
>Hi, I have a source string that is html format, but it should be stored and displayed in a regular memo. Therefore I need to convert the html to just plain text. Anybody has done that before? I could probably use Shell.Explorer, but only if I don't find a more straightforward way.
old WebBrowser or InternetExplorer.Application was able to do that, but feeding old dogs new HTML might create own fleas. First option to check for me would be to look at methods implemented on WebView2 (which uses Chromium based Edge to replace WebBrowser functionality for current web sites using Javascript not supported in Trident based WebBrowser) - in MS docs and on Ricks site.... As alternative you could work via Selenium, which offers less methods but more browsers, including Firefox.
HTH
thomas
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement