• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • Examples
  • File List

E:/E/GEAMP/www/openbiz/openbiz/others/Smarty/libs/plugins/modifier.count_characters.php

00001 <?php
00021 function smarty_modifier_count_characters($string, $include_spaces = false)
00022 {
00023     if ($include_spaces)
00024        return(strlen($string));
00025 
00026     return preg_match_all("/[^\s]/",$string, $match);
00027 }
00028 
00029 /* vim: set expandtab: */
00030 
00031 ?>

Generated on Thu Apr 19 2012 17:01:16 for openbiz by  doxygen 1.7.2