Use ucfirst() to Capitalize the First Letter of a String

Use ucfirst() to Capitalize the First Letter of a String

The ucfirst() function capitalizes the first letter of a string. This is useful for formatting titles or names.

← Back to Tips List