PHPStringucwords

Uppercase the first character of each word in a string.

Syntax

ucwords(string $string): string