Base64Decode

Base64Decode is used to decode a Base64 Representation string into its original format.

Syntax

Base64Decode(String)

Returns

String.

Example

Function Main

Dim message As String

Dim encoded As String

Dim decoded As String

cr = Chr(13) + Chr(10)'Carriage return and line feed

message = "String to be encoded"

encoded = Encode.Base64Encode(message)

echo "Encoded Text : "

echo encoded

echo cr

decoded = Encode.Base64Decode(encoded)

echo "Decoded Text :"+decoded+cr

End Function