Base64Decode

Base64Decode 用於將 Base64 表示字串解碼為其原始格式。

語法

Base64Decode(String)

結果

字串

範例

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 = "要編碼的字串"

encoded = Encode.Base64Encode(message)

echo "編碼的文字: "

echo encoded

echo cr

decoded = Encode.Base64Decode(encoded)

echo "編碼的文字: "+decoded+cr

End Function