what bigger the data one uses, that slower the good old join(split($stuff,$stuffToReplace),$stuffThatReplaces) becomes.

I was just playing with wkix32.exe and coded a UDF that made it a var inside a script.
after some 30 mins, had to stop the process.
it just took way too much time.

now, if we had Replace() the processor intensive work could be done inside the kix itself and speed gains would be great with just some 10.000 element arrays.

so, I suggest that you ruud dear add the following:
Replace(WHERE,WHAT,WITH)

the parameters could be:
  • WHERE - string or array. if string, works just like join split. if array, works like ascan() -> replace
  • WHAT - what to replace. if string, replaces this with WITH. if array, replaces each element with corresponding element of WITH
  • WITH - replace with this. if string, replaces all matches by WHAT with this. if array, WHAT must be an array and per element match and replace occurs.
    _________________________
    !

    download KiXnet