1. Docs
  2. Formulas
  3. Functions

TITLEIZE

Capitalizes the first letter of each word in a string and replaces some characters in the string to make the title prettier. By default, strings ending in _id have that suffix removed. Pass keep_id_suffix: TRUE to preserve it.

Categories: Text

Syntax

TITLEIZE(text, [keep_id_suffix: FALSE])

Examples

Example 1

Input

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

Formula

TITLEIZE(my_action.message)

Output

"Hello World"

Example 2

Input

1
{
2
"my_action": {
3
"message": "helloWorld"
4
}
5
}

Formula

TITLEIZE(my_action.message)

Output

"Hello World"

Example 3

Input

1
{
2
"my_action": {
3
"message": "hello_world"
4
}
5
}

Formula

TITLEIZE(my_action.message)

Output

"Hello World"

Example 4

Input

1
{
2
"my_action": {
3
"message": "author_id"
4
}
5
}

Formula

TITLEIZE(my_action.message, keep_id_suffix: TRUE)

Output

"Author Id"
Was this helpful?