Показать выпадающий список

ucwords()

« ucfirst | uksort »
<?php
$string 
ucwords (
    
  // string $str
);
?>
Результат
$string = 'Hello World!'
Примеры
#1 ucwords  ("hello world!")
#2 ucwords  ("HELLO WORLD!")
См. также
mb_convert_case, strtolower, strtoupper, ucfirst