StrToBase64

From SCAR Divi Manual
Jump to: navigation, search

Definition

function StrToBase64(const Str: AnsiString): AnsiString;

Availability

SCAR Divi 3.31 > Current

Description

Encodes a given string Str in a base64 format. This process can be reversed with Base64ToStr.

Example

begin
  WriteLn(Base64ToHex('Hello World!'));
end.

Output:

SGVsbG8gV29ybGQh

See Also