JVCL Help:AsciiToHex
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: AsciiToHex function
[+] JvCsvParse.pas Functions
Search in JVCL Help
Search in all projectsSummary
Create a hex encoded dump of a string. Useful for displaying a string containing non printable characters.
Pascal
run\JvCsvParse.pas
functionAsciiToHex(constS: AnsiString): AnsiString;
Parameters
Parameters | Description |
const S: AnsiString | (String) The incoming String object to be encoded as a set of Hexadecimal bytes. |
Description
If the input is the string 'A'+Chr(13), the result returned is '41 0D'. 41 is the hex value for the ascii Character A, and 0D is Hexadecimal code for a Carriage return.
See Also
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page