How to use string substitution in variable names

Faster an shorter:

collect(eachcol(diagm(ones(7))))
2 Likes