REBOL Document

Dehex - Function Summary


Summary:

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

Usage:

dehex value

Arguments:

value - The string to dehex (must be: any-string)

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

Related:

debase - Converts a string from a different base representation to binary.
enbase - Converts a string to a different base representation.
to-hex - Converts an integer to a hex issue!.


<Back | Index | Next>

Copyright 2004 REBOL Technologies