CHANGESTR.REX: Difference between revisions

Content added Content deleted
(added comments to the section header.)
(added section headers.)
Line 1: Line 1:
==the CHANGESTR function==
This a RYO version of the REXX function   '''changestr'''   (CHANGE STRing).
This a RYO version of the REXX function   '''changestr'''   (CHANGE STRing).


It is included in some of the more modern Classic REXXes, but older versions of
It is included in some of the more modern Classic REXXes, but older versions of
<br>Classic REXX don't have this function as a BIF &nbsp; ('''B'''uilt-'''I'''n '''F'''unction).
<br>Classic REXX don't have this function as a &nbsp; BIF &nbsp; ('''B'''uilt-'''I'''n '''F'''unction).




Line 8: Line 9:
This version of the &nbsp; '''changestr''' &nbsp; BIF has more functionality than the standard BIF.
This version of the &nbsp; '''changestr''' &nbsp; BIF has more functionality than the standard BIF.


==the CHANGESTR source==
<lang rexx>/*REXX program emulates the CHANGESTR built-in function for older REXXes*/
<lang rexx>/*REXX program emulates the CHANGESTR built-in function for older REXXes*/
/*──── This version has more functionality: limit the number of changes.*/
/*──── This version has more functionality: limit the number of changes.*/