StringHelpers extension

Adds some utilities to transform strings.

on

Methods

fromKebabCaseToCamelCase() String

Available on String, provided by the StringHelpers extension

Transforms a kebab-case string to a camelCase one and returns it.
toCapitalized() String

Available on String, provided by the StringHelpers extension

Capitalizes the first letter of this string and returns a new one.
trimAll() String

Available on String, provided by the StringHelpers extension

Replaces all the unnecessary whitespace in this string with a single space and returns a new one.