Jelix 1.6.40

modifier.count_characters.php

Plugin from smarty project and adapted for jtpl

Tags
subpackage

jtpl_plugin

contributor

Laurent Jouanneau (utf8 compliance)

copyright

2001-2003 ispi of Lincoln, Inc., 2007 Laurent Jouanneau

link
http://smarty.php.net/
link
http://jelix.org/
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

Table of Contents

jtpl_modifier_common_count_characters()  : int
Modifier plugin : count the number of characters in a text

Functions

jtpl_modifier_common_count_characters()

Modifier plugin : count the number of characters in a text

jtpl_modifier_common_count_characters(string $string[, bool $include_spaces = false ]) : int
{$mytext|count_characters}
{$mytext|count_characters:true}
Parameters
$string : string
$include_spaces : bool = false

include whitespace in the character count

Return values
int

Search results