User Tools

Site Tools


en:public:developer:template_system:tags:string:stringlength

Table of Contents

<#stringlength>

Returns the length of the string in bytes. For the UTF-8 strings the length can be different from actual number of characters.

Parameters

Name Mandatory Default Description
value Yes The string to define its length, variables are allowed

Example

<#stringlength value="Test Test">

The above example will output:

9
en/public/developer/template_system/tags/string/stringlength.txt · Last modified: 2014/10/23 17:36 by igor