Capitalize Each First Letter?
Posted: Tue Aug 08, 2006 7:52 pm
How can I capitalize each first letter of a word in a string? I think I saw something that would do this, but have forgotten since.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
ucwords()
or was it this one
. I can't tell with all that ice cream on his head.Everah wrote:You go Ninja, you sour cream hat wearing horned baby tool user you.
Ninja in his new hat![]()
or was it this one
![]()
. I can't tell with all that ice cream on his head.

The Manual wrote:ucwords -- Uppercase the first character of each word in a string