Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
View this page
Toggle table of contents sidebar

# betty.string module

Provide string handling utilities.

betty.string.camel_case_to_kebab_case(string: str) → str

  Convert camel case to kebab case.

betty.string.camel_case_to_snake_case(string: str) → str

  Convert camel case to snake case.

betty.string.kebab_case_to_lower_camel_case(string: str) → str

  Convert kebab case to lower camel case.

betty.string.snake_case_to_upper_camel_case(string: str) → str

  Convert snake case to upper camel case.

betty.string.upper_camel_case_to_lower_camel_case(string: str) → str

  Convert upper camel case to lower camel case.