lcfirst(): first char to lower case

$str="Welcome to";
echo  lcfirst($str);
Output is here
welcome to
lcfirst( $input_string)
$input_stringRequired : Input string
Output is the string with first char in lower case.

Let us try some examples


Output :

String Functions ucfirst(): First char to upper case strtolower(): To all lower case strtoupper(): To all upper case Counting Sub string inside a string
Subscribe to our YouTube Channel here


* indicates required
Subscribe to plus2net

    Post your comments , suggestion , error , requirements etc here

    PHP video Tutorials
    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 All rights reserved worldwide Privacy Policy Disclaimer