Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 394 Bytes

File metadata and controls

33 lines (20 loc) · 394 Bytes

Description

Converts a string to title case

Description

str_case_title(string $string): string

Parameters

string

The input string

Returns

Returns the input string in title case.

Examples

Example # 1 Example uses of str_case_title()

echo str_case_title('Some random sentence');

The above example will output:

Some Random Sentence