post icon

How to make a string’s first character uppercase in php?

string ucfirst ( string $str )

Returns a string with the first character of str capitalized, if that character is alphabetic.

Comments are closed.

Leave a comment