Class Replace

Description

This is a "compiled" version of the replace function applied on a string, with more than one replace string. The replace strings are given to the create method as a from and to array and are then analyzed. The `() is then called with a string and the replace rules in the Replace object will be applied. The Replace object is used internally by the Pike optimizer and need not be used manually.


Method create

Replace Replace()
Replace Replace(mapping(string:string))
Replace Replace(array(string) from, array(string)|string to)