REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: dehex

dehex  value

Converts URL-style hex encoded (%xx) strings.

Arguments:

value [any-string!] - The string to dehex

See also:

to-hex   debase   enbase  

Description

Converts the standard URL hex sequence that begins with a % followed by a valid hex value. Otherwise, the sequence is not converted and will appear as written.

print dehex "www.com/a%20dir/file"
www.com/a dir/file
print dehex "ABCD%45"
ABCDE


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin