Class String.SingleReplace

Description

This is a "compiled" version of the replace function applied on a string, with just one replace string. The replace strings are given to the create method as a from and tom string and are then analyzed. The `() is then called with a string and the replace rule 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.SingleReplace String.SingleReplace(string|void from, string|void to)

Note

May be called with either zero or two arguments.