CAPITALIZE

Makes the first character of text uppercase and converts the remaining characters to lowercase.

Syntax 

CAPITALIZE(text)

Examples 

Example 1

Input

{
  "my_action": {
    "message": "hello world"
  }
}

Formula

CAPITALIZE(my_action.message)

Output

"Hello world"
Example 2

Only the first character of the text is capitalized. Later words are not capitalized.

Input

{
  "my_action": {
    "message": "hello WORLD"
  }
}

Formula

CAPITALIZE(my_action.message)

Output

"Hello world"