1. Docs
  2. Formulas
  3. Functions

CAPITALIZE

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

Categories: Text

Syntax

CAPITALIZE(text)

Examples

Example 1

Input

1
{
2
"my_action": {
3
"message": "hello world"
4
}
5
}

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

1
{
2
"my_action": {
3
"message": "hello WORLD"
4
}
5
}

Formula

CAPITALIZE(my_action.message)

Output

"Hello world"

Sample actions

Event Transform
My Action
Event Transform
CAPITALIZE

Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?