Article recommended for string function Lcfirst

Source: Internet
Author: User
Tags php tutorial
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

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.