Functions:count characters

From Dwoo Docs

Jump to: navigation, search

Counts the characters in a string

count_characters(string $value, [ bool $count_spaces = false ])
  • value : the string to process
  • count_spaces : if true, the white-space characters are counted as well




Example:

{count_characters('ab cd')}
{count_characters('ab cd', true)}

Output:

4
5
Personal tools
templates
page language

French

The article you want to access doesn't exist in French.
Deutsch
The article you want to access doesn't exist in Deutsch.
Russian
The article you want to access doesn't exist in Russian.