StrToBase64

From SCAR Divi Manual
Revision as of 16:05, 9 February 2012 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function StrToBase64(const Str: AnsiString): AnsiString; </source> ==Availability== SCAR Divi 3.31 > Current ==Description== E...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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