note 88741 added to function.str-word-count
| From: | splogamurugan at gmail dot com | Date: | Thu, 05 Feb 2009 10:32:57 +0000 |
| Subject: | note 88741 added to function.str-word-count | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-150252@lists.php.net to get a copy of this message | ||
We can also specify a range of values for charlist.
$str = "Hello fri3nd, you're
looking good today!
look1234ing";
print_r(str_word_count($str, 1, '0..3'));
will give the result as
Array ( [0] => Hello [1] => fri3nd [2] => you're [3] => looking [4] => good [5]
=> today [6] => look123 [7] => ing )
----
Server IP: 203.199.69.133
Probable Submitter: 164.164.151.25
----
Manual Page -- http://www.php.net/manual/en/function.str-word-count.php
Edit -- https://master.php.net/note/edit/88741
Del: integrated -- https://master.php.net/note/delete/88741/integrated
Del: useless -- https://master.php.net/note/delete/88741/useless
Del: bad code -- https://master.php.net/note/delete/88741/bad+code
Del: spam -- https://master.php.net/note/delete/88741/spam
Del: non-english -- https://master.php.net/note/delete/88741/non-english
Del: in docs -- https://master.php.net/note/delete/88741/in+docs
Del: other reasons-- https://master.php.net/note/delete/88741
Reject -- https://master.php.net/note/reject/88741
Search -- https://master.php.net/manage/user-notes.php