HTMLDECODE
Sintassi
%%{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))
Scopo
La funzione SQL HTMLDECODE restituisce il testo codificato in HTML come testo normale, sostituendo la rappresentazione HTML dei caratteri speciali con il loro significato originale.
Vedi anche HTMLENCODE.
Parametri:
- Input (
varchar2): l'input che verrà decodificato dall'HTML in testo.
Restituisce: un testo che corrisponde all'input decodificato dall'HTML come varchar2.
Esempi
L'esempio seguente recupera la rappresentazione testuale di una rappresentazione HTML:
select htmldecode('Big Spender & Johnson has > output than ACME')
----------------
Big Spender & Johnson has > output than ACME
L'esempio seguente decodifica un frammento HTML contenente tag e virgolette:
select htmldecode('<b>"bold"</b>')
----------------
<b>"bold"</b>