I was wondering if there is a LaTeX command that results in titlecase formatting of text. What I mean by titlecase formatting is capitalization of the first character of every word in a phrase except for small words such as to, the, on, etc (see http://www.editage.com/resources/pdf/case.pdf for a full definition). I know LaTeX has commands such as \MakeUppercase and \MakeLowercase which make the corresponding text all uppercase or lowercase, respectively; however I have not found an equivalent for titlecase formatting. I believe BibTex has a way of causing titlecase formatting (\printfield[titlecase]{text}), but I haven't been able to figure out how to bring its usage into normal LaTeX documents.
So, is there something that I'm missing, or is there no built-in titlecase formatting command in LaTeX? If not, does anyone have any ideas on solutions to this problem? This is important as some journals want titles and section headings in titlecase whereas some want them in all uppercase. It seems in the spirit of LaTeX that there should be a command to do this so that you as the author don't have to go through and manually change the casing.
Text Formatting ⇒ Titlecase formatting
NEW: TikZ book now 40% off at Amazon.com for a short time.

Titlecase formatting
The package "stringstrings" can be used to accomplish this task. See the post http://tex.stackexchange.com/a/4829. This implementation is not the most elegant, nor does it cover all possible cases; however, it is a good first cut for those that want a quick solution. For a more robust solution, you would probably need to start delving into the work of TeX macros or LaTeX3's expl3 package.