Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Converting Hex value to String

From: dockimbel:free at: 24-Apr-2002 15:05

Mark Chang wrote:
> I have a HEX value > a: #{096A6F6273747265657403636F6D} > > if I use > to-string a > result is "^-jobstreet^Ccom". That is NOT what I want. > > what I want is to convert to > b: "096A6F6273747265657403636F6D" > > Sound easy but could not find a simple way to do it. Any idea? Thanks.
A solution can be :
>> a: #{096A6F6273747265657403636F6D}
== #{096A6F6273747265657403636F6D}
>> head remove back tail remove/part mold a 2
== "096A6F6273747265657403636F6D" HTH, -DocKimbel.