Replace Multiple
Replace at a number of indices, a corresponding number of items
1
ind1 = 0..List.Count(lst0)-1;
2
ind2 = List.SetDifference(ind1,ind0);
3
ind3 = List.Flatten([ind2,ind0],-1);
4
bln1 = List.Contains(ind0,ind1<1>);
5
lst1 = List.FilterByBoolMask(lst0,bln1);
6
lst2 = List.Flatten([lst1["out"],rep0],-1);
7
lst3 = List.SortByKey(lst2,ind3)["sortedList"];
Copied!
Last modified 11mo ago
Copy link