Conversion of hex pairs to chars...best way?

Geoff Canyon gcanyon at inspiredlogic.com
Thu May 22 23:13:00 EDT 2003


Couldn't resist trying it:

put binaryEncode("H*","5265766F6C7574696F6E")

puts "Revolution"

Life should always be so easy.

On Thursday, May 22, 2003, at 02:05  PM, Dar Scott wrote:

>
> On Thursday, May 22, 2003, at 02:46 PM, T. R. Ponn wrote:
>
>> I have the need to convert mass quantities of lines of data in this 
>> form:
>>
>> "5265766F6C7574696F6E", as an example.
>
> Look at binaryEncode and binaryDecode.
>
> Dar Scott

regards,

Geoff Canyon
gcanyon at inspiredlogic.com




More information about the use-livecode mailing list