Table of Contents

Capitalize Filter

The CapitalizeFilter passes content through the PHP function ucfirst. That is, it capitalizes the first character of a string.

Usage

{$yourvar|capitalize}

Result

"hello world" -> "Hello world"