title Modifier

Returns a trimmed string with the first letter of each word capitalized, ignoring articles, coordinating conjunctions, and short propositions: a, an, the, at, by, for, in, of, on, to, up, and, as, but, or, and nor.

string: It was one of the best adventures of my life
{{ string | title }}
It Was One of the Best Adventures of My Life
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →