Rexx Programming/How to Rexx/interpolation

The rexx scripting language does not automatically carry out interpolation by default. However, interpolation is easily achieved by using the changestr function:

mystring = changestr("X", "Mary had a X lamb.", "little") say mystring