PHP string lcfirst() FunctionThe lcfirst() is in-built PHP string function. It is used to convert the first character of a string to lowercase. In another words we can say that it make a string's first character lowercase. It returns the converted string. Following are the related functions.
Syntax:
Example 1Output: Before using lcfirst() function:PHP After using 'lcfirst()' function: pHP Example 2Output: Before using lcfirst() function: HELLO PHP After using 'lcfirst()' function: hELLO PHP Next TopicPHP String |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India