Expand description
Case conversion utilities for strings (PascalCase, camelCase, kebab-case, etc.).
Functions§
- camel_
case - Converts a string to camelCase.
- flat_
case - Converts a string to flatcase (all lowercase, no separators).
- hello
- Returns a greeting string. Example:
hello("world")→"Hello, world!". - is_
uppercase - Returns whether
cis uppercase. ReturnsNonefor ASCII digits. - kebab_
case - Converts a string to kebab-case (lowercase parts joined with
-). - lower_
first - Lowercases the first character; rest unchanged.
- pascal_
case - Converts a string to PascalCase.
- snake_
case - Converts a string to snake_case (lowercase parts joined with
_). - split_
by_ case - Splits a string into words at case boundaries and separators.
- title_
case - Converts a string to Title Case (like train-case but with spaces, minor words lowercase).
- train_
case - Converts a string to Train-Case (each word capitalized, joined by
-). - upper_
first - Capitalizes the first character; rest unchanged.