Title Case a string

What is title case?

Title case is a style of writing where the first letter of each major word in a sentence or phrase is capitalized. Major words in a sentence include nouns, verbs, adjectives, adverbs, pronouns, and some conjunctions (such as "and," "but," and "or").

Title case is often used in titles of books, articles, and other written works, as well as in headings and subheadings in documents and presentations. It is also commonly used in certain types of formal writing, such as business letters, academic papers, and legal documents.

For example, the title "The Adventures of Sherlock Holmes" is written in title case because the first letter of each major word is capitalized.

Result

Hello World