BASE64TOTEXT

Use the BASE64TOTEXT decoding function to convert previously encoded data from BASE64 back to the original text. The data is converted to the character set of the output object used. For example, if the output object is EBCDIC the output will be EBCDIC.

Syntax:
BASE64TOTEXT (single-object-expression)
Meaning:
BASE64TOTEXT (BASE64_object_to_convert)
Returns:
A single-text-item

This function receives a text object in Base64-encoded format, converts the object to text, and returns a single data object that represents the original text object that was encoded. If an error occurs during conversion, no data is returned.

Example

BASE64TOTEXT("U29tZSBFeGFtcGxlIERhdGE=")

Output: Some Example Data