Formatting Strings with Kebab Casing
Learn about the kebab casing method to format strings.
We'll cover the following
Basic structure of kebab casing
The kebab
helper method replaces all uppercase letters within the string with the lowercase variant prefixed with the -
character. The basic structure of the kebab casing function is shown below:
Get hands-on with 1400+ tech skills courses.