Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
ucwords
ucwords
Convert the first letter of each word in the string to uppercase
Name:
ucwords
Category:
String
Programming Language:
php
One-line Description:
Converts the first character of each word in the string to uppercase.
Related
What Are the Common Mistakes When Using ucwords for Title Formatting? How to Avoid Them?
5
Similar Functions
strrev
strrev
Reverseastring
str_repeat
str_repeat
Repeatastring
printf
printf
Outputformattedstrin
explode
explode
Useonestringtosplita
convert_uuencode
convert_uuencode
Useuuencodetoencodea
htmlentities
htmlentities
Convertallapplicable
ucwords
ucwords
Convertthefirstlette
substr_compare
substr_compare
Binarysafecomparison
Popular Articles
What Are the Common Mistakes When Using ucwords for Title Formatting? How to Avoid Them?