Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert ASCII-Hex to ASCII-Chars

Status
Not open for further replies.

quatt0

Programmer
Jun 27, 2003
2
GB
platform i386/w32, cygwin and access to Net/Free BSD.

how do i convert large amounts of ASCII encoded byte-length HEX values dumped from metaedit to its ASCII character counterparts?

EG (real string is MUCH larger);

i have (in a text file): '54-65-6B-2D-54-69-70-73',
i need: 'Tek-Tips'.

i dont understand why i should have to fragment my data and repeatedly use hex2ascii base converters or calculators, someone must have come across this before and wrote something that can handle large amounts of ascii hex-dumped data, if not then ill certainly write something.

(de|)constructive criticism is welcome.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top