Returns a "titlecase" version of the given string. Generally, title casing converts the first character of each word to uppercase and the rest of the characters to lowercase. However, a word that is entirely uppercase, such as an acronym, is not converted.

Syntax

Smartsite SXML CopyCode image Copy Code
string string.totitlecase(string s)

Parameters

Name Data Type Description
s String The input string.

Return Value

Data Type Description
String The input string in titelcase.

Expand image Examples

SXML