View Full Version : Does that function exist?
mokujin
01-13-2010, 07:49 PM
Hello, I just want to know if there is a function that checks how many words in a text (message) is.
Check that: vB4 Programming Discussions => 3 words
Hello => 1 word
Thank you
Adrian Schneider
01-13-2010, 07:57 PM
Check out str_word_count() (http://www.php.net/str_word_count)
$count = str_word_count('vB4 Programming Discussion'); // 3
mokujin
01-13-2010, 07:59 PM
Yes thank you, I have read that function before I post this thread :( Thanks again Sir
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.