RE: Replacing characters (Matt: bug)

new topic     » goto parent     » topic index » view thread      » older message » newer message

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)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu