Pike v8.1 release 6

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()
String.Replace String.Replace(mapping(string:string))
String.Replace String.Replace(array(string) from, array(string)|string to)