size Filter

Returns number of characters within a string.

Parameters

None.

Category

String Filters

Description

Returns a count of the number of characters within a string.

The description is {{ page_description | size }} characters long.

You can also access the size of a string by using dot notation:

The description is {{ page_description.size }} characters long.