replace function in
find is a substing of
replace('abc', 'b', 'bd') would keep expanding the string like
Replaced it with new code in PR #2247
Thank you very much for your commitment. Reading the code, I’m wondering why you are not using RegExp or some built in function. I assume you have good reason to do so, I’m just curious.
This is faster, according to the benchmark linked in the comments