Skip to main content

$titleCase

The $titleCase operator converts a string to Title Case format.

Input

  • A single string value

Output

  • The input string converted to Title Case format

Examples

Convert to Title Case

{
  "$titleCase": [
    "hello world test"
  ]
}
Result: "Hello World Test"

Convert with Different Separators

{
  "$titleCase": [
    "hello-world_test"
  ]
}
Result: "Hello-World_Test"

Field Value

{
  "$titleCase": [
    {
      "$input": "input_text"
    }
  ]
}
Result: The input_text field converted to Title Case format