Entries tagged with John Gruber

Title Case for Movable Type

22nd May 2008

John Gruber shared a code snippet that converts strings to Title Case. It’s actually more clever than it sounds, taking into account the need to keep a collection of small words uncapitalised, and correctly handling punctuation issues. Here’s a version…