In this blog, we will teach you about PHP lcfirst() function. Basically we have also teach about basics of PHP 7 . so, you will go to our previous Blog for learn about PHP and for your kind information we also have a YouTube channel, which we continuously uploaded videos of HTML, CSS, PHP and Tech Videos. so please subscribe to our YouTube channel.
YouTube Channel :- Kumar Atul Jaiswal
PHP lcfirst() Function
The PHP lcfirst() function returns string converting first character into Lower case letter. it's doesn't change the case of other characters.
Syntax
String lcfirst ( string $str )
Example
<!DOCTYPE html>
<html>
<head>
<title> PHP lcfirst function</title>
</head>
<body>
<h1> </h1>
<?php
$str = "MY Self Kumar Atul Jaiswal";
<html>
<head>
<title> PHP lcfirst function</title>
</head>
<body>
<h1> </h1>
<?php
$str = "MY Self Kumar Atul Jaiswal";
echo lcfirst ( $str );
echo "<br>";
$str2 = "LOWER Case Letter";
echo lcfirst ( $str2 );
mY Self Kumar Atul Jaiswal
lOWER Case Letter
NOTE :- Video on This Topic :- Soon
Have a Nice Stay Here : - )
0 comments:
Post a Comment
For Any Tech Updates, Hacking News, Internet, Computer, Technology and related to IT Field Articles Follow Our Blog.