Returns
the decoded version of a given string.
Syntax
Decode(
s1
[,
s2
])
Parameters
Parameter
|
Description
|
s1
|
The string to decode.
|
s2
(Optional)
|
A string identifying the type of decoding
to perform. The following strings are valid decoding strings:
-
url (URL decoding)
-
html (HTML decoding)
-
xml (XML decoding)
If you do not include
a value for
s2
, the function uses URL decoding.
|
Examples
The
following expressions are examples that use the
Decode
function:
Expression
|
Returns
|
Decode("ÆÁÂÁ
Â", "html")
|
ÆÁÂÁÂ
|
Decode("~!@#$%^&*()_+|`{"}[]
<>?,./;':", "xml")
|
~!@#$%^&*()_+|`{""}[]<>?,./;':
|
|
|
|