Skip to content

New String conversion handlers

Compare
Choose a tag to compare
@jucardi jucardi released this 16 Oct 23:36
· 4 commits to master since this release
  • Introduced new handlers for String conversion:

    • stringxCamelToDash > Converts a camelCase string to a dash-separated string
    • stringxCamelToSnake > Converts a camelCase string to a snake_case string
    • stringxDashToCamel > Converts a dash-separated string to a camelCase string
    • stringxDashToPascal > Converts a dash-separated string to a PascalCase string
    • stringxPascalToDash > Converts a PascalCase string to a dash-separated string
    • stringxPascalToSnake > Converts a PascalCase string to a snake_case string
    • stringxSnakeToCamel > Converts a SnakeToCamel string to a camelCase string
    • stringxSnakeToPascal > Converts a SnakeToCamel string to a PascalCase string
  • Changed the behavior of title, it now properly converts a provided string to a title case, capitalizing the first letter of every word in a text, and ensuring the rest of the characters in the word are lowercase

  • Added short alias lower for lowercase

  • Added short alias upper for uppercase