You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

ENDECODE$ returns a BASE64 encoded or decoded document

Syntax

ENDECODE$(CodingType$, Document$)

Arguments

  • CodingType$ (a StrExp) can be:
  1. "BASE64ENCODE", encode in Base64 code;
  2. "BASE64DECODE", decode from Bas64 code;
  3. "BASE64BINARYENCODE", encode in Base64Binary code;
  4. "BASE64BINARYDECODE", decode from Base64Binary code;
  • Document$ is the document that should be encoded or decoded.

Remarks

  1. Further information on Base64 encoding is available here
  2. Further information on Base64Binary encoding is available here 
  3. See also Wikipedia [BASE64]

Examples

ENDECODE$("BASE64ENCODE", "Qnowledge B.V")

returns

"UW5vd2xlZGdlIEIuVg=="


ENDECODE$("BASE64ENCODE", "UW5vd2xlZGdlIEIuVg==")

returns

"Qnowledge B.V."


  • No labels