Vocola.net
Vocola 3.1 Function Library
ToTitleCase(text)
Namespaces LibraryString ► ToTitleCase
Converts the specified text to title case, where all but small words are capitalized.
Syntax
ToTitleCase(text)
Parameters
text
Text to convert to title case.
Return Value
A title case version of text.
Remarks
In titles of books, songs, chapters, etc., "small" words are not capitalized. Opinions differ even among prominent style manuals on exactly which words are considered "small"; this function recognizes "a", "an", "and", "as", "at", "but", "by", "for", "from", "in", "into", "nor", "of", "on", "or", "over", "per", "the", "to", "upon", "vs.", and "with" as small words.
Examples
CopyConvert spoken phrase to title case
Title Case That = Dictation.Replace(String.ToTitleCase(Dictation.Get()));
This command uses three Vocola library functions to convert the just-dictated Vocola phrase to title case: Dictation.Get retrieves the just-dictated phrase, ToTitleCase converts it to title case, and Dictation.Replace replaces it. For example, "the best of the best" would be converted to "The Best of the Best".

Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)