HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP String Reference : Convert the first character of "hello" to uppercase: "
The ucfirst() function converts the first character of a string to uppercase.
Related functions:
Parameter | Description |
---|---|
string | Required. Specifies the string to convert |
Return Value: | Returns the converted string |
---|---|
PHP Version: | 4+ |
❮ PHP String Reference