note 87801 modified in function.str-word-count by felipe
| From: | felipe@php.net | Date: | Sun, 28 Dec 2008 13:27:51 +0000 |
| Subject: | note 87801 modified in function.str-word-count by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-148607@lists.php.net to get a copy of this message | ||
For spanish speakers a valid character map may be:
<?php
$characterMap = 'áéÃóúüñ';
$count = str_word_count($text, 0, $characterMap);
?>
--was--
For spanish speakers a valid character map may be:
$characterMap = 'áéÃóúüñ';
$count = str_word_count($text, 0, $characterMap);
http://php.net/manual/en/function.str-word-count.php