What Is The Output Of The Ucwords Function In This Example

What Is The Output Of The Ucwords Function In This Example


  • 26 Jan, 2012

    $formatted = ucwords("GLOBALGUIDELINE IS COLLECTION OF INTERVIEW QUESTIONS");print $formatted;What will be printed is GLOBALGUIDELINE IS COLLECTION OF INTERVIEW QUESTIONS.ucwords() makes every first letter of every word capital, but it does not lower-case anything else. To avoid this, and get a properly formatted string, it?s worth using strtolower() first.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.