The PHP ucwords () function converts the first character of each word in a string to uppercase (implementation code), Ucwords uppercase
The PHP ucwords () function converts the first character of each word in a string to uppercase, and this article
The phpucwords () function converts the first character of each word in a string to uppercase (implementation code) and ucwords to uppercase. The phpucwords () function converts the first character of each word in a string to uppercase
The php ucwords () function converts the first character of each word in a string to uppercase and the ucwords to uppercase.
The php ucwords () function converts the first character of each word in a string to uppercase. This article introduces the
The PHP ucwords () function converts the first character of each word in a string to uppercase, Ucwords uppercase
The PHP ucwords () function converts the first character of each word in a string to uppercase, and this article introduces the
The phpucwords () function converts the first character of each word in a string to uppercase and ucwords to uppercase. The phpucwords () function converts the first character of each word in a string to uppercase, and the ucwords capital phpucwords
The PHP ucwords () function converts the first character of each word in the string to uppercase, and this article introduces the basic use method and example of PHP ucwords () function to the code agriculture, which is interested in the code
Instance
Convert the first character of each word to uppercase:
Definition and usage
The Ucwords () function converts the first character of each word in a string to uppercase.
Note: This function is binary safe.
Related functions:
Ucfirst ()-
The following summarizes several character functions in PHP, Summary: 1) Ucfirst the first letter into uppercase, such as $string = "This is my web development blog"; echo Ucfirst ($string); Output:this is my web Development blog 2) Lcfirst, the
Php converts the initial character of a string to uppercase. Php: how to convert the character string to uppercase/Lowercase. This article describes how to convert the character string to uppercase/lowercase in php, tips for using ucfirst and
Php string conversion case. In php, if we want to convert characters into uppercase and lowercase letters, use strtolower or strtoupper directly, however, to convert the first letter to the upper and lower case, we need to use the ucwords function
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.