ucwords

PHP 4, PHP 5, PHP 7, PHP 8
ucwords - Uppercase the first character of each word in a string
Ucwords Online Tool
Manual
Code Examples

Example #1 ucwords example

PHP Version:

Example #2 ucwords example with custom delimiter

PHP Version:

Example #3 ucwords example with additional delimiters

PHP Version:


Example #4 of ucwords

PHP Version:


Function ucwords:

Strings Functions

Most used PHP functions