[REBOL] Re: Dumb problem
From: chris::ross-gill::com at: 23-Apr-2002 23:42
Hi Mat,> StringToHex: func [ > stringin [string!] > ][ > do rejoin["result: to-integer #{"stringin"}"] > result > ]How about:>> s-to-h: func [str [string!]][to-integer debase/base str 16] >> s-to-h "2a"== 42 - Chris