Re: Routines for review: Hex <-> String
Re: Routines for review: Hex <-> String
- Subject: Re: Routines for review: Hex <-> String
- From: Axel Luttgens <email@hidden>
- Date: Sun, 19 Jan 2003 13:03:45 +0100
Paul Skinner wrote:
Has kindly pointed out, off list, that my stringToHex fails with more
than 16 characters. Doh!
Sooo...
[snip]
: ( there goes my one-liner.
From another thread on this list:
on HexString2(AString)
text 1 through -3 of (do shell script
"echo '" & AString & "' | hexdump -e '1/1 \"X\"'")
end HexString2
The one-liner way is not gone :-)
I wondered if there could be a better choice for the arguments of hexdump.
Axel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.