Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com

Home

 
4D v20 R7
REPLACE

REPLACE  


 

 

Command REPLACEREPLACE (arithmetic_expression, arithmetic_expression, arithmetic_expression)

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;



Siehe auch 

TRANSLATE

 
EIGENSCHAFTEN 

Produkt: 4D
Thema: Functions

 
SEITENINHALT 
 
GESCHICHTE 

 
ARTIKELVERWENDUNG

4D - SQL Reference ( 4D v20 R7)