Skip to main content

toTitleCase()

function toTitleCase(input): string

Function to convert a string to title case.

Parameters​

ParameterTypeDescription
inputstringThe input string.

Returns​

string

The input string in title case.