Skip to main content

toTitleCase

Converts a string to a Title Case.

Parameters

  • string string to convert to Title Case

Examples

toTitleCase('the quick brown fox');
// => 'The Quick Brown Fox'

Returns string in Title Case.

Meta

  • version: 1.0.0