String Replacement

back to main page

 

It is quite a common task, when someone needs to update bulk of files using update rules. To do so, you have to write program, where you define your logic of update.

 

EZY Prolog has primitive and powerful language for conditional replacement of the strings and this language consist of only 7 declarations. Conditional string replacement can be programmed via nested declarations.

 

In general, system uses the following logic for string replacement:

 

 

What you can do inside replacement rule:

 

 

 

Generally speaking, this set of domains defines the algorithm of how text will be replaced by calling one ezy_replace_string function.

 

Text replacement algorithm can be defined via set of replacement rules which allows conditional search and replace operations inside text strings.

 

For more information - please see replacement rules.

 

 


 

Copyright 1998-2002 EDMGROUP (Australia)

 

Last Updated: July 29, 2002