Summary of Intact Case
At last, summarize the rules of Intact Case.
camelCase ⇒ snake_case
- Tokenize.
- Add delimiter to after each acronym.
- Convert all words to lowercase.
- Concatenate words with between delimiter.
snake_case ⇒ camelCase
- Tokenize.
- Capitalize each word except first.
- If last letter of the word is a delimiter, remove the delimiter and to capitalize all letter of the word.
- When two or more uppercase-acronyms are successive, to use delimiter between them.
- Concatenate.
snake_case ⇒ StudlyCase
- Tokenize.
- Capitalize each word.
- If last letter of the word is a delimiter, remove the delimiter and to capitalize all letter of the word.
- When two or more uppercase-acronyms are successive, to use delimiter between them.
- Concatenate.
camelCase ⇒ StudlyCaps
- Convert camelCase to snake_case.
- Convert snake_case to StudlyCaps.
StudlyCaps ⇒ camelCase
- Convert StudlyCaps to snake_case.
- Convert snake_case to camelCase.