Rebol Programming/enbase
USAGE:
ENBASE value /base base-value
DESCRIPTION:
Converts a string to a different base representation.
ENBASE is a native value.
ARGUMENTS
- value -- The string to encode (Type: any-string)
REFINEMENTS
- /base -- Allow a selection of a different base for conversion
- base-value -- The base to convert to: 64, 16, or 2 (Type: any)
SOURCE CODE
enbase: native[
{Converts a string to a different base representation.}
value [any-string!] "The string to encode"
/base {Allow a selection of a different base for conversion}
base-value "The base to convert to: 64, 16, or 2"
]