• It still boggles my mind that tSQL doesn't have a built in function for this, but thank you very much for providing it. I've needed one several times in the past but hadn't found one that worked well for me.

    Thank you,

    Chris