Here's a Vim tip from zzapper.co.uk . . .
pull contents of a variable (eg :let sray="ray[0-9]")
<C-R>=somevar
©2019 Casey Falk. All thoughts presented are my own and not my employer's.