< 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
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.