StrToHex

From SCAR Divi Manual
Revision as of 16:58, 9 February 2012 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function StrToHex(const Str: AnsiString): AnsiString; </source> ==Availability== SCAR Divi 3.31 > Current ==Description== Enco...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function StrToHex(const Str: AnsiString): AnsiString;

Availability

SCAR Divi 3.31 > Current

Description

Encodes a given string Str in an uppercase hexadecimal format. This process can be reversed with HexToStr.

Example

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

Output:

48656C6C6F20576F726C6421

See Also