Simplified and documented customization of #titleCase()