MV.REPLACE Statement  
Previous  Top  Next

Description  
 
This routine will replace all occurrences of the value in OldVar to the value in NewVar in the string contained in Variable.  
 
Syntax  
 
MV.REPLACE (OldVar, NewVar, Variable)  
 
This works exactly like the Multi-Value instruction CHANGE or SWAP in Basic. For example:  
 
OldVar
NewVar
Variable
Result
AABB
XX
AAAABBBBCCCCDDDD
AAXXBBCCCCDDDD
123
A
1231231231231231231
AAAAAA1