pascalize

external fun pascalize(str: String): String

Convert a kebab-case string to PascalCase: foo-bar becomes FooBar.