Answers for "php change to uppercase first letter"

PHP
11

ucfirst() php

<?php
$foo = 'hello world!';
$foo = ucfirst($foo);             // Hello world!

$bar = 'HELLO WORLD!';
$bar = ucfirst($bar);             // HELLO WORLD!
$bar = ucfirst(strtolower($bar)); // Hello world!
?>
// string manipulation function
Posted by: Guest on February-20-2020
1

php uppercase first letter

ucfirst($myword);
Posted by: Guest on November-05-2020

Code answers related to "php change to uppercase first letter"

Browse Popular Code Answers by Language