Documentación GVHIDRA 3.1.5
Referencia del Archivo modifier.count_characters.php

Ir al código fuente de este archivo.

Namespaces

namespace  Smarty

Funciones

 smarty_modifier_count_characters ($string, $include_spaces=false)

Documentación de las funciones

smarty_modifier_count_characters ( string,
include_spaces = false 
)

Smarty count_characters modifier plugin

Type: modifier
Name: count_characteres
Purpose: count the number of characters in a text count_characters (Smarty online manual) Monte Ohrt

Parámetros:
string
booleaninclude whitespace in the character count
Devuelve:
integer

Definición en la línea 22 del archivo modifier.count_characters.php.

{
    if ($include_spaces)
       return(strlen($string));

    return preg_match_all("/[^\s]/",$string, $match);
}