This is a rexx function provided by PPWIZARD. This routine (like all PPWIZARD extensions) can be used with any operating system supported by PPWIZARD.
This function is used to convert a whole series of single characters into strings. To convert single characters to other single characters you would of course use the rexx translate() routine.
This function takes 2 parameters as follows:
The routine returns the possibly modified source string.
When this routine returns the rexx variable ReplaceCount will have been incremented by the number of replacements made.
;--- Set up the conversion information ------
#DefineRexx ""
call BulkChangePrepare "Conv"; ;;Initialize to empty
call BulkChangePrepare "Conv", '&', '&';
call BulkChangePrepare "Conv", '<', '<';
call BulkChangePrepare "Conv", '>', '>';
#DefineRexx
;--- Modify the input string -----------------
#evaluate '' ^say 'MODIFIED = ' || BulkChar2String('AAAA <&> BBBB', 'Conv')^