In this blog, we will teach you about PHP ucfirst() 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 Ucfirst() Function
The PHP ucfirst() function returns string converting first character into Uppercase letter. It's doesn't change the case the other characters.
Syntax
string ucfirst ( string $str )
Example
<!DOCTYPE html>
<html>
<head>
<title> PHP String Length </title>
</head>
<body>
<h1> </h1>
<?php
$str = "my self kumar Atul Jaiswal";
<html>
<head>
<title> PHP String Length </title>
</head>
<body>
<h1> </h1>
<?php
$str = "my self kumar Atul Jaiswal";
echo ucfirst ( $str );
My self kumar Atul Jaiswal
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.