$WBB64DEC - Base64 decode

Availability
$WBB64DEC  is available for use with all WBSP commands:

Syntax
$WBB64DEC{Base64EncodedString}
$WBB64DEC[Base64EncodedString]

Parameters
Base64EncodedString - any string encoded using $WBB64ENC
Returns
Decoded value of Base64EncodedString.

Example

<!--
[FormFields]
wb_command=r
-->
<!--WB_BeginTemplate-->
<html>
<head>
<title>WBB64DEC example</title>
</head>
<body>
Encoded text: 5N/84g==<br>
WBB64DEC:($WBB64DEC[5N/84g==])<br>
</body>
</html>

After running this example the HTML code of resulting page in browser, may look like this:



<html>
<head>
<title>WBB64DEC example</title>
</head>
<body>
Encoded text: 5N/84g==<br>
WBB64DEC:(äßüâ)<br>
</body>
</html>