Skip to main content
Version: Next

to_title

Converts a string to title case.

to_title(x:string) -> string

Description

The to_title function converts all words in x to title case.

Examples

Convert a string to title case

from {x: "hello world".to_title()}
{x: "Hello World"}

See Also

to_lower, to_upper