A? or An? Get your indefinite articles right

"Peter is a Assocate Editor". Eurgh. That didn't look very nice. I needed to correctly use 'a' and 'an', like how you should.

This little function probably does what you want.

It's over here on Gist.