How to reverse the result from split

I want to reverse the result of split .Dir “/” so i can apply range on the reverse order. E.g. have the reverse order of {{ range split .Dir “/” }}?

1 Like

Use delimit.

And how does reverse the order?