Base64Decode

The Base64Decode function decodes a base64 string.

Syntax

  Copy imageCopy Code
string Base64Decode(
  string encodedString
);

Parameters

encodedString

A string that is base64 encoded according to RFC 4648.

Return Values

Returns the string version of the base64 string that is passed as a parameter. Returns null if the value of encodedString is not a valid base64-encoded string.

Example Code

The following example returns the string "Office Communications Server 2007".

  Copy imageCopy Code
Base64Decode("T2ZmaWNlIENvbW11bmljYXRpb25zIFNlcnZlciAyMDA3")