$toTitleCase

Converts the first letter of each word to uppercase in the provided text.

Syntax

$toTitleCase[Text]

Parameters

  • Text : The text to convert.

Example

$nomention
$toTitleCase[$message]

Screenshot_20221026_151232