Skip to content

fromCamelCase

fromCamelCase(string) → string · String

Convert from camelCase to separate words.

  • string (required): camelCase string
bash
echo '{"name": "myVariableName"}' | utlx -e 'fromCamelCase($input.name)'
# "my variable name"
utlx
{
  words: fromCamelCase($input.fieldName)
}

Released under AGPL-3.0.