Replacer.ReplaceValue
Replaces values within the provided input.
Syntax
Replacer.ReplaceValue(
value as any,
old as any,
new as any
) as any
Remarks
Replaces the old value in the original value with the new value. This replacer function can be used in List.ReplaceValue and Table.ReplaceValue.
Examples
Example #1
Replace the value 11 with the value 10.
Replacer.ReplaceValue(11, 11, 10)
Result:
10
Category
Replacer