StringHelpers extension

Adds some utilities to transform strings.

on

Methods

fromKebabCaseToCamelCase() String
Transforms a kebab-case string to a camelCase one and returns it.
toCapitalized() String
Capitalizes the first letter of this string and returns a new one.
trimAll() String
Replaces all the unnecessary whitespace in this string with a single space and returns a new one.