Replacer.ReplaceValue
Pakeičiamos reikšmės pateiktoje įvestyje.
Syntax
Replacer.ReplaceValue(
value as any,
old as any,
new as any
) as any
Remarks
Pakeičiama old reikšmė pradiniame value į new reikšmę. Šią pakeitimo funkciją galima naudoti List.ReplaceValue ir Table.ReplaceValue.
Examples
Example #1
Pakeičiama reikšmė 11 reikšme 10.
Replacer.ReplaceValue(11, 11, 10)
Result:
10
Category
Replacer