Answers for "first letter of each word uppercase php"

PHP
14

string first letter uppercase php

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

$bar = 'HELLO WORLD!';
$bar = ucfirst($bar);             // HELLO WORLD!
$bar = ucfirst(strtolower($bar)); // Hello world!
?>
Posted by: Guest on July-03-2020
6

php uppercase each word

$upperCaseSentance=ucwords("i do not feel good");//I Do Not Feel Good
Posted by: Guest on July-30-2019

Code answers related to "first letter of each word uppercase php"

Browse Popular Code Answers by Language