StringTransforms extension

on

Methods

fromKebabCaseToCamelCase() String

Available on String, provided by the StringTransforms extension

Transforms a string from kebab-case to camelCase.
toCapitalized() String

Available on String, provided by the StringTransforms extension

Capitalizes the first letter and lowercases the rest of them.
trimAll() String

Available on String, provided by the StringTransforms extension

Removes the unnecessary whitespace from a string.