Lowercasing the First Character of a String
Learn how to lowercase the first character of a string.
We'll cover the following
Basic structure of the lcfirst
function
The lcfirst
helper method is the logical opposite of the ucfirst
helper method. The lcfirst
helper method will return a copy of the string its first character lowercased. The basic structure of the lcfirst
function will be as shown below:
Get hands-on with 1200+ tech skills courses.