Pike v8.0 release 1738

Class String.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

String.Replace String.Replace(array(string)|mapping(string:string)|void from, array(string)|string|void to)