Rexx Programming/How to Rexx/interpolation

< Rexx Programming‎ | How to Rexx

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