Base64Decode

Overview 

Decodes a Base64 encoded string to a plain text string

Syntax 

Base64Decode(1)

Function Properties 

OrdinalTypeDescription
1stringRequiredBase64 encoded string to decode

Example 

This sample code takes a Base64 encoded string passed to the function and returns a plain text string.

1var encoded = 'VGhpcyB3YXMgYSBCYXNlNjQgZW5jb2RlZCBzdHJpbmcu';
2var decoded = Base64Decode(encoded); // "This was a Base64 encoded string."