T
tgillitzer
I have a non-fixed length string that contains hex values in a readable
format and other text. I need to convert the hex values [..] to thier
respective hex value (using pack i would assume).
Lets say the string is:
'[FF]test[FF]test[FF]test[FF]'
I need to convert [..] to the hex value.
So, the result would be:
'ÿtestÿtestÿtestÿ' if printed (where ÿ is the hex value converted
to ascii of the display font)
I'm not sure how to do this with perl, but any help would be
appreciated.
Thanks
format and other text. I need to convert the hex values [..] to thier
respective hex value (using pack i would assume).
Lets say the string is:
'[FF]test[FF]test[FF]test[FF]'
I need to convert [..] to the hex value.
So, the result would be:
'ÿtestÿtestÿtestÿ' if printed (where ÿ is the hex value converted
to ascii of the display font)
I'm not sure how to do this with perl, but any help would be
appreciated.
Thanks