How-to articles, tricks, and solutions about UCFIRST
Title case a string containing one or more last names while handling names with apostrophes
In PHP, you can use the ucwords() function to convert a string to title case.