Skip to main content

$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

{
  "$kebabCase": [
    "hello world test"
  ]
}
Result: "hello-world-test"

Convert with Capital Letters

{
  "$kebabCase": [
    "ConvertThisToKebab"
  ]
}
Result: "convert-this-to-kebab"

Field Value

{
  "$kebabCase": [
    {
      "$input": "input_text"
    }
  ]
}
Result: The input_text field converted to kebab-case format