Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Convert a list of Hex values to a string

310 views
Skip to first unread message

Craigers01

unread,
Feb 24, 2009, 5:55:21 PM2/24/09
to
I would like to convert from a string of hex values to a string.

% puts $hex_list
0x53 0x49 0x43 0x52 0x20 0x48 0x41 0x52 0x44 0x20 0x4d 0x41 0x53 0x4b
0x20 0x20

Do something, expected results: "SICR HARD MASK "

I appreciate your help!
Craig

Alexandre Ferrieux

unread,
Feb 24, 2009, 6:03:26 PM2/24/09
to

[binary format c* $hex_list]

-Alex

Craig...@gmail.com

unread,
Feb 24, 2009, 6:34:59 PM2/24/09
to
On Feb 24, 6:03 pm, Alexandre Ferrieux <alexandre.ferri...@gmail.com>
wrote:

Perfect! Thanks!

0 new messages