Display the text box

ucwords()

« ucfirst | uksort »
<?php
$string 
ucwords (
    
  // string $str
);
?>
Result
$string = 'Hello World!'
Examples
#1 ucwords  ("hello world!")
#2 ucwords  ("HELLO WORLD!")
See also
mb_convert_case, strtolower, strtoupper, ucfirst