Branch: Tag:

2001-06-28

2001-06-28 13:16:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Optimized replace(var, const1, const2).
Implemented String.Replace.

Rev: lib/modules/String.pmod:1.20
Rev: src/builtin.cmod:1.49
Rev: src/builtin_functions.c:1.385

11:   constant trim_all_whites = __builtin.string_trim_all_whites;   constant Iterator = __builtin.string_iterator;   constant SplitIterator = __builtin.string_split_iterator; + constant Replace = __builtin.multi_string_replace;      /*    * Implode an array of strings to an english 'list'