Converts a string to title case
str_case_title(string $string): stringstring
The input string
Returns the input string in title case.
Example # 1 Example uses of str_case_title()
echo str_case_title('Some random sentence');The above example will output:
Some Random Sentence