RE: Replacing characters (Matt: bug)
- Posted by Andy Serpa <renegade at earthling.net> Sep 16, 2002
- 457 views
Henri Goffin wrote: >> global function replace_in_string(sequence s, object o, object n) > The "so" sequence is not necessary. You can compare the sequence directly to the atom "o": s += (s = o) * (n - o)