Topics

06 History of changes
Designer
Fixed @ReplaceSubstring function (R5.0.9)

In R5.0.9, the behavior of the @ReplaceSubstring was changed, to prevent crashes caused by large @ReplaceSubstring formulas and by recursive calls.

The following example shows the change in behavior for @ReplaceSubstring("nnnn";"nn";"12345")

Source String


Old substring
New substring
The old behavior (using a character by character scan) would result in "123451234512345" where "nn" is found and replaced three times. The new behavior will find the next match after the first match, resulting in "1234512345" which "nn" is found and replaced twice.