Skip to content

$toLocaleUpperCase

$toLocaleUpperCase will change the first character of every word to uppercase.

Usage

$toLocaleUpperCase[text]

Parameters

FieldTypeDescriptionRequired
textstringThe text to change to locale uppercase.true

Example(s)

This will change every first character of a word to uppercase, in this case it would return Hello, I'm Happy.:

1
client.command({
2
name: "toLocaleUpperCase",
3
code: `
4
$toLocaleUpperCase[hello, i'm happy.]
5
`
6
});