title() function

Converts all words of a string to title case (all words lower case with leading capital letter).

Syntax

title(string)

Arguments

string → is string. The string to convert to title case.

Example

upper('hello WOrld') → 'Hello World'