This function be provided to List.ReplaceValue or Table.ReplaceValue to do replace values in list and table values respectively.