Table of Contents

Trim Filter

The TrimFilter passes content through the PHP function trim. That is, it removes whitespace from the beginning and end of a string.

Usage

{$yourvar|trim}

Result

"your string" -> "your string"