web.base64decode

Decodes a message encoded using base64 encoding.

public static String web.base64decode( String message );

Arguments

Argument
Description
message
The message to decode.

Return Values

This function returns the decoded message.

Parameterization

The message argument can be parameterized.

Example

In the following example, the message hello is encoded using base64 encoding.

Then, the encoded message assigned to the variable encodedMsg is decoded.

Copy code
String encodedMsg = web.base64encode("hello");
String decodedMsg = web.base64decode(encodedMsg);