Rexx Programming/How to Rexx/interpolation

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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