input|count_chars()
This operator counts and returns the number of characters (all of them, whitespaces included) that make up the input string.
{'Testing 1 2 3'|count_chars()}
The following output will be returned: "13".
{'Testing'|count_chars()}
The following output will be returned: "7".
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.