HTMLDECODE
Syntaxe
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> HTMLDECODE[HTMLDECODE]:::quoted
HTMLDECODE --> End((END))
Objet
La fonction SQL HTMLDECODE renvoie le texte encodé en HTML sous forme de texte brut, en remplaçant la représentation HTML des caractères spéciaux par leur signification d'origine.
Voir également HTMLENCODE.
Paramètres :
- Entrée (
varchar2) : l'entrée qui sera décodée du format HTML en texte.
Renvoie : un texte correspondant à la donnée d'entrée décodée à partir du code HTML varchar2.
Exemples
L'exemple suivant récupère la représentation textuelle d'une représentation HTML :
select htmldecode('Big Spender & Johnson has > output than ACME')
----------------
Big Spender & Johnson has > output than ACME
L'exemple suivant décode un fragment HTML contenant des balises et des guillemets :
select htmldecode('<b>"bold"</b>')
----------------
<b>"bold"</b>