URL_DECODE
Last updated
Last updated
Unescapes the given URL encoded value.
This function is the inverse of .
url_decode(value) → varchar
Unescapes the URL encoded value
. This function is the inverse of .
VALUE
Type: string
A URL encoded value.
Type: string
The decoded VALUE
.
"SELECT url_decode('The+quick+brown+fox') = 'The quick brown fox' AND url_decode('Comment+%235') = 'Comment #5' AND url_decode('%26%24%23_line_%21123') = '&$#line!123' AND url_decode('') = '' AND url_decode('word%2Bword++word') = 'word+word word'"
The+quick+brown+fox
The quick brown fox
Comment+%235
Comment #5
%26%24%23_line_%21123
&$#_line_!123
''
''
word%2Bword++word
word+word word
The quick brown fox
Comment #5