> ## 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.

# Kebabcase

# \$kebabCase

The `$kebabCase` operator converts a string to kebab-case format.

## Input

* A single string value

## Output

* The input string converted to kebab-case format

## Examples

### Convert to Kebab Case

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

Result: `"hello-world-test"`

### Convert with Capital Letters

```json theme={null}
{
  "$kebabCase": [
    "ConvertThisToKebab"
  ]
}
```

Result: `"convert-this-to-kebab"`

### Field Value

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

Result: The input\_text field converted to kebab-case format
