Will do.

I wasn't sure it would be okay with all of you to add a library for just this function.  I'll make the changes and re-submit.