JVCL Help:AsciiToHex

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Create a hex encoded dump of a string. Useful for displaying a string containing non printable characters.

run\JvCsvParse.pas


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.

run\JvCsvParse.pas


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.

run\JvCsvParse.pas


See Also

HexToAscii

run\JvCsvParse.pas


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