Convert the string to kebab-case.
Example:
assert (Strings.toKebabCase ("helloWorld") == "hello-world");
assert (Strings.toKebabCase ("Hello World") == "hello-world");
| s |
the string. |
|
kebab-case string. |