StrToHex

From SCAR Divi Manual
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