Module str

Source
Expand description

string related utilities

This module works to implement various naming conventions and name-related primitives.

Modules§

types

Structs§

CaseTypeIter
An iterator over the variants of CaseType

Enums§

CaseType

Functions§

fnl_remove
Remove the first and last charecters of a string
to_camelcase
converts a string to camelCase.
to_kebabcase
converts a string to kebab-case.
to_pascalcase
converts a string to PascalCase.
to_screaming_snakecase
converts a string to SCREAMING_SNAKE_CASE.
to_snakecase
converts a string to snake_case.