Replacer.ReplaceValue

Syntax

Replacer.ReplaceValue(value as any, old as any, new as any) as any

About

Replaces the old value in the original value with the new value. This replacer function can be used in List.ReplaceValue and Table.ReplaceValue.

Example 1

Replace the value 11 with the value 10.

Replacer.ReplaceValue(11, 11, 10)

10