Is this Possible

When you paste code, you heed to place it between three backticks to show properly. Otherwise it is of no use to is. See number 11 in this post:

I see I read your example the wrong way. I edited my post above to fit your example.