> ## Documentation Index
> Fetch the complete documentation index at: https://docs.metrics-man.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Titlecase

# \$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

```json theme={null}
{
  "$titleCase": [
    "hello world test"
  ]
}
```

Result: `"Hello World Test"`

### Convert with Different Separators

```json theme={null}
{
  "$titleCase": [
    "hello-world_test"
  ]
}
```

Result: `"Hello-World_Test"`

### Field Value

```json theme={null}
{
  "$titleCase": [
    {
      "$input": "input_text"
    }
  ]
}
```

Result: The input\_text field converted to Title Case format
