So Corey popped a question last night in company chat room on whether WordPress has an equivalent of Rails’ to_sentence() function or not. The answer was no it doesn’t, & I thought heck that can be written quick!
Here is what I wrote quickly (and updated after that):
It can be further improved, the evaluation of three cases in switch can be removed entirely as demonstrated here.