Copyright ® (1999-2002) EDMGROUP Pty Ltd - EZY Prolog Reference

main page

 String Replacement

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 ezy_replace_string function.

For more information - please see replacement rules and string replacement program.

Copyright © 1997-2003 EDMGROUP (Australia)