Answers for "php normalize string first uppercase then lowercase"

PHP
7

first character uppercase php

ucwords("hello world"); // Hello World
ucfirst("hello world"); // Hello world
Posted by: Guest on August-21-2020
2

ucfirst

<?php
/* Convert the first character of "hello" to uppercase:  */
echo ucfirst("hello samy!");

//output : Hello samy!
?>
Posted by: Guest on June-23-2020

Code answers related to "php normalize string first uppercase then lowercase"

Browse Popular Code Answers by Language