capitalize Filter

Capitalizes the first word in a string.

Parameters

None.

Category

String Filters

Description

Capitalizes the first word in a string.

{{ 'a very fine sentence.' | capitalize }}

Example Output

A very fine sentence.