Rexx - XRANGE



This method returns the characters in the range specified by the start and end character.

Syntax

XRANGE(start,end) 

Parameters

  • start − start the hexadecimal value

  • end − end the hexadecimal value

Return Value

This method returns the characters in the range specified by the start and end character.

Example

/* Main program */ 
say XRANGE("a","d") 
say XRANGE("i","k")

When we run the above program, we will get the following result.

Output

abcd 
ijk
rexx_built_in_functions.htm
Advertisements