$toTitleCase

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

Syntax

$toTitleCase[Text]

Parameters

  • Text (Type: String || Flag: Emptiable): The text to convert.

Example

$nomention
$toTitleCase[$message]
!example bot designer for discord Bot Designer For Discord

What is this?

How $message works?

🤖 Playground

Here you can understand how this function works.

Input:

$toTitleCase[]

Output:

Hello World!