capitalize

Makes the first character of a string capitalized and converts the remaining characters to lowercase.

Input

{{ "title" | capitalize }}

Output

Title

Only the first character of a string is capitalized, so later words are not capitalized:

Input

{{ "my GREAT title" | capitalize }}

Output

My great title