![]() |
Documentación GVHIDRA 3.1.5
|
Ir al código fuente de este archivo.
Namespaces | |
namespace | Smarty |
Funciones | |
smarty_modifier_count_characters ($string, $include_spaces=false) |
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
string | |
boolean | include whitespace in the character count |
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); }