titlecase
titlecase copied to clipboard
John Gruber’s Title Case
Does *NOT* work: ``` $> perl use Lingua::EN::Titlecase::Simple qw(titlecase); my $str = 'HAHA AND HEHE A.B TEAM UP'; print titlecase($str), "\n"; Haha and Hehe a.b Team Up $> ``` Thanks!
Posted a few years ago at
Rudimentary support en, de, pt, es, fr, it, ... for the time being, hopefully without any clashes. Thank you for your useful tool
Remove `if` and `en` from short words list Capitalize `if` and `en` as in Chicago style could add a command-line flag like ``--chicago`` if for some reason you're attached to...
whitespace is dropped if it is at the beginning or end. this is undesirable if using `titlecase` say as a method or plugin in a text editor such as `vim`....