What is the function of the ucfirst and lcfirst functions? - ProProfs Discuss
Topics
Products
Follow Us:

What is the function of the ucfirst and lcfirst functions?



A. To make the string s first character uppercase or lowercase, respectively.
B. To make the string s first word uppercase or lowercase, respectively.

This question is part of PHP Strings
Asked by Phpphp, Last updated: Jul 30, 2020

+ Answer
Request

1 Answer

John Smith

John Smith

Answered Jan 31, 2017

To make the string s first character uppercase or lowercase, respectively.

Not many other options I could throw in there ;) This one is just for review I suppose.
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.