Function camelToKebabCase

Converts a camelCasedString to kebab-case. The result is undefined if the input string is not formatted in camelCase.