The titlecase( function capitalizes first character of each word, but not articles, prepositions, and conjunctions under 5 characters (unless they are the first or last word in the text).
Parameters
This function has one parameter:text – the text to be converted.
Description
This function capitalizes first character of each word, but not articles, prepositions, and conjunctions under 5 characters (unless they are the first or last word in the text).
titlecase("this or that") ☞ This or That
titlecase("WAR AND PEACE") ☞ War and Peace
titlecase("of mice and men") ☞ Of Mice and Men
See Also
History
Version | Status | Notes |
10.2 | New | New in this version. |