4D v14REPLACE | 
            ||||||||||||||
                    
                        
  | 
                
                    
                         
    4D v14
 
REPLACE 
                                
                                
        
 | 
                |||||||||||||
| 
                     | 
		||
The REPLACE function looks in the first arithmetic_expression passed for all the occurrences of the second arithmetic_expression passed and replaces each one found with the third arithmetic_expression passed. If no such occurrences are found, the first arithmetic_expression remains unchanged.
This example will replace the word "Francs" by "Euro":
SELECT Name, REPLACE(Currency, ‘Francs’, ‘Euro’)
FROM PRODUCTS;
	Product:  4D
	Theme:  Functions
	
        
        
	
	4D SQL Reference ( 4D v11 SQL Release 4 )
	4D SQL Reference ( 4D v14)
	4D SQL Reference ( 4D v12.1)
	4D SQL Reference ( 4D v13.4)
	4D SQL Reference ( 4D v14 R2)
	4D SQL Reference ( 4D v14 R3)
	4D SQL Reference ( 4D v14 R4)