Difference between revisions of "StrToBase64"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function StrToBase64(const Str: AnsiString): AnsiString; </source> ==Availability== SCAR Divi 3.31 > Current ==Description== E...")
 
(No difference)

Latest revision as of 16:05, 9 February 2012

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