PascalCase
- Words concatenated with empty string
- Every word starts with a capital letter
- No special characters are allowed
camelCase
- Words concatenated with empty string
- First word starts with a lower case letter
- Every subsequent word starts with a capital letter
- No special characters are allowed
snake_case
- Words concatenated with a single underscore (
_
) character - Every letter is in lower case
- No special characters are allowed
- Words concatenated with a single underscore (
kebab-case
- Words concatenated with a single dash (
-
) character - Every letter is in lower case
- No special characters are allowed
- Words concatenated with a single dash (
Train-Case
(Header-Case
)- Words concatenated with a single dash (
-
) character - Every word starts with a capital letter
- No special characters are allowed
- Words concatenated with a single dash (
CONSTANT_CASE
(ALL_UPPER_CASE
)- Words concatenated with a single underscore (
_
) character - Every letter is in upper case
- No special characters are allowed
- Words concatenated with a single underscore (
Capital Case
- Words concatenated with a single whitespace (
- Every word starts with a capital letter
- No special characters are allowed
- Words concatenated with a single whitespace (
dot.case
- Words concatenated with a single dot (
.
) character - Every letter is in lower case
- No special characters are allowed
- Words concatenated with a single dot (
no case
- Words concatenated with a single whitespace (
- Every letter is in lower case
- No special characters are allowed
- Words concatenated with a single whitespace (
path/case
- Words concatenated with a single forward slash (
/
) character - Every letter is in lower case
- No special characters are allowed
- Variations:
- Preserve word casing
- Backward slash concatenator
- Words concatenated with a single forward slash (
Sentence case
- Words concatenated with a single whitespace (
- First word starts with a capital letter
- Subsequent words start with a lower case letter
- No special characters are allowed
- Variations:
- Add a full stop at the end
- Words concatenated with a single whitespace (
- Parse the biggest prefix using
IPrefixParser
- Strip the prefix from the input string
- Parse the biggest suffix using
ISuffixParser
- Strip the suffix from the input string
- Break the input string into words starting from the
0
index (or0
+prefix length
)