.[string 10#.z.d;(til 10;4 7);:;"-"]
Does what I want; it replaces char 4 and 7 for each element in a list of dates with "-".
I seem to remember it being possible to elide the top level index (i.e. til 10
) in some way. I would expect the below to work, but it doesn't:
.[string 10#.z.d;(0N;4 7);:;"-"]
How can I elide the top level index in dot-amend?