Document upper/lower/initcap/firstcap functions (#4255)