String functions that are useful when working with source code.
convertCase : String -> Basics.Bool -> Basics.Bool -> String -> String
Converts string between various case forms such as camel case, snake case or kebab case. Strings are split into words on capital letters or whitespace. For example, to convert to space case with the first letter of the first word capitalized and the first letters of subsequent words in lower case:
convertCase " " True False "convertToSpaceCase" == "Convert to space case"
toCamelCaseUpper : String -> String
Converts a string to camel case with the first letter in uppercase.
toCamelCaseLower : String -> String
Converts a string to camel case with the first letter in lowercase.
toSnakeCaseUpper : String -> String
Converts a string to snake case with the first letter in uppercase.
toSnakeCaseLower : String -> String
Converts a string to snake case with the first letter in lowercase.
toKebabCaseUpper : String -> String
Converts a string to kebab case with the first letter in uppercase.
toKebabCaseLower : String -> String
Converts a string to kebab case with the first letter in lowercase.