S2kDesigns Technical Blog
Count the words in a sentence using PHP
Wednesday, August 19, 2009, 09:39 AM -
PHP
Posted by Administrator
<?php
$str = "I am the best";
echo str_word_count($str);
?>
********out put *******
4
[ add comment ]
( 1 view ) |
permalink
|
( 2.8 / 29 )
<<First
<Back
|
1
|
2
|
3
|
4
|
5
| 6 |
7
|
8
|
9
|
Next>
Last>>
Links
Home
Contact Me
Stats
Login
Calendar
«
June 2010
»
Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
09/10/10
Random Entry
validate TextBox that accept only Alphabatic value using Javascript
Perl - Difference Between my local our
PHP Sending Mail
STDERR Redirect
Count the words in a sentence using PHP
Archives
View Archives
2010
June
Mysql: How to drop a Unique Constraint?
06/03/10
May
April
March
February
January
2009
December
November
October
September
August
2008
October
Categories
HTML
JavaScript
PHP
PERL/Shell Scripting
Apache
IPhone
ActionScript
Interview
MySQL
.net
Joomla
Windows 7
Search
Search
Counter Totals
Total:
10,020
Today:
1
Yesterday:
30
Most Recent Entries
Mysql: How to drop a Unique Constraint?
How to find world writable directories by "find" command?
perl - handling sigint
Perl Important links
Perl - Difference Between my local our
Windows 7: I want WinXP Style back
Windows7 How to add the Quicklaunch Toolbar
opensubtitles.org oscar not working - resolved
Find Joomla Module Positions
Duplicate a Table using Javascript
Most Recent Comments
Yuriy
01/23/10
A similar form can be generated using form builder