Live Sandbox PHP strlen() and str_word_count() Functions

PHP strlen() and str_word_count() Function

strlen($your_string) — This PHP function returns the length (number of characters) of a string as an integer value.

str_word_count($your_string) — This PHP function returns the number of words of a string as an integer value.

Suggested Reading

PHP Cookbook: Solutions & Examples

Amazon Reviewer:
Great help for someone thrown into the fray
(Amazon Affiliate Link)