───XRANGE(─┬───────┬──┬───────┬─)─────── └─start─┘ └─,end──┘
XRANGE returns a string of all one-byte codes between and including the values start and end. The default value for start is `00'x, and the default value for end is `FF'x. If start is greater than end, the values wrap from `FF'x to `00'x. If specified, start and end must be single characters.
Here are some examples:
XRANGE('a','f') -> 'abcdef' XRANGE('03'x,'07'x) -> '0304050607'x XRANGE(,'04'x) -> '0001020304'x XRANGE('i','j') -> '898A8B8C8D8E8F9091'x /* EBCDIC */ XRANGE('FE'x,'02'x) -> 'FEFF000102'x XRANGE('i','j') -> 'ij' /* ASCII */