Live Sandbox PHP strtolower(), strtoupper(), ucwords(), lcfirst(), ucfirst(), strrev(), strlen(), str_word_count() Functions
PHP strtolower(), strtoupper(), ucwords(), lcfirst(), ucfirst(), strrev(), strlen(), and str_word_count() Function
Instructions/Notes

lcfirst($your_string) - This PHP function returns a string with the first character of the input string converted to lowercase. More on lcfirst() at php.net
ucfirst($your_string) - This PHP function returns a string with the first character of the input string converted to uppercase. More on ucfirst() at php.net
strtolower($your_string) - This PHP function returns a string with all the alphabetic characters in the input string converted to lowercase. More on strtolower() at php.net
strtoupper($your_string) - This PHP function returns a string with all the alphabetic characters in the input string converted to uppercase. More on strtoupper() at php.net
ucwords($your_string) - This PHP function returns a string with the first letter of each word in the input string converted to uppercase. More on ucwords() at php.net
strrev($your_string) - This PHP function reverses the order of your string. More on strrev() at php.net
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




Suggestion

PHP Cookbook: Solutions & Examples

Amazon Reviewer Great help for someone thrown into the fray


Buy from Amazon