Well behind the fair on this one but better late than never :-/
$ perl -E ' > printf qq{0x%04X\n}, $_ for unpack q{n*}, join q{}, > reverse unpack q{(a2)4}, reverse pack q{a8}, q{COM7:};' 0x4F43 0x374D 0x003A 0x0000 $
Cheers,
JohnGG
In reply to Re: String to hex
by johngg
in thread String to hex
by jasal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |