नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
Syntax
List.ReplaceValue(
list as list,
oldValue as any,
newValue as any,
replacer as function
) as list
About
Searches a list of values, list, for the value oldValue and replaces each occurrence with the replacement value newValue.
Example 1
Replace all the "a" values in the list {"a", "B", "a", "a"} with "A".
Usage
List.ReplaceValue({"a", "B", "a", "a"}, "a", "A", Replacer.ReplaceText)
Output
{"A", "B", "A", "A"}