Live Sandbox PHP strlen() and str_word_count() Functions
PHP strlen() and str_word_count() Function
Instructions/Notes

strlen($your_string) - This PHP function returns the length (number of characters) of a string as an integer value. More on strlen() at php.net

str_word_count($your_string) - This PHP function returns the number of words of a string as an integer value. More on str_word_count() at php.net




Suggested Reading

PHP Cookbook: Solutions & Examples


Amazon Reviewer:
Great help for someone thrown into the fray