EXCHANGE

EXCHANGE


ERROR Index Level EXECUTE
Syntax EXCHANGE( string.expression1, string.expression2, string.expression3 )
Category BASIC
Type Function
Description converts characters in string.expression1.

This function works identically to the "convert" function except that the second two arguments are specified as hexadecimal numbers.
Options
See Also CONVERT $OPTIONS
Example print exchange("abc",dtx(seq("a")),dtx(seq("b")))

The result, "bbc", will be printed to the terminal.
Warnings This function requires a non-default compiler setting. Inserting the line "$options ext" at the beginning of the source code accomplishes this.
Compatibility D3 7.0 R91
ERROR Index Level EXECUTE