A few days ago, John Gruber released some Perl code called Title Case. Title Case provides semi-intelligent title casing. It can convert strings into standard title format including capitalizing all words except for common words (such as articles and conjunctions) as well as the first and last words of titles.
Since I’ve already converted other Gruber projects to Nu (such as Markdown and SmartyPants), I went ahead and translated this, too. The source code for NuTitleCase is available on github.
Leave a Reply