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 first letter lowercase $string = "This is my web development blog"; echo Lcfirst ($string); Output:this is my Web development Blog 3) STRT
1. Summary of several character functions in PHP
Summary: The following summarizes several character functions in PHP, Summary: 1) Ucfirst capitalize the first letter, for example $string = "this is my web development blog"; echo Ucfirst ($string); Output:this is my web Development blog 2) Lcfirst, the first letter is lowercase $string ...
2. PHP Case Conversion function Lcfirst Ucfirst ucwords strtolower strtoupper
Introduction:: This article mainly introduces the PHP case conversion function Lcfirst Ucfirst ucwords strtolower strtoupper, for the PHP tutorial interested students can refer to.
3. PHP Ucwords function Converts the first character of each word in a string to uppercase words download word download sight words
Summary: The words:php ucwords 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 the string to uppercase, and this article introduces the basic usage and example of the PHP ucwords () function to the code farmer. Interested in the code farmers can refer to. Define and use the Ucwords () function to convert the first character of each word in a string to uppercase. Note: This function is binary safe. Correlation function: Lcfirst ()-Converts the first character in a string to lowercase strtolower ()-Converts the string to lowercase strtoupper (
4. PHP Ucwords function Converts the first character of each word in a string to uppercase implementation code words download word download sight words
Summary: The words:php ucwords function converts the first character of each word in a string to an uppercase implementation code: the PHP ucwords () function converts the first character of each word in a string to uppercase, and this article introduces the basic usage and example of the PHP ucwords () function to the code farmer. Interested in the code farmers can refer to. Define and use the Ucwords () function to convert the first character of each word in a string to uppercase. Note: This function is binary safe. Correlation function: Lcfirst ()-Converts the first character in a string to lowercase strtolower ()-Converts the string to lowercase strtoupper