Text & Writing
Joined naming styles
Split into words, keep the first in lower case, capitalise the rest, and join them with no separator. snake_case and kebab-case use the same split with a different separator and no capitals.
Last updated
The Formula
camelCase = first lower + rest capitalised, no separator
Split into words, keep the first in lower case, capitalise the rest, and join them with no separator. snake_case and kebab-case use the same split with a different separator and no capitals.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| w_i | Word | word | The i-th word after splitting. |
| cap | Capitalise | operation | Upper-case the first letter and lower-case the rest. |
What Each Symbol Means
w_iword
Word
The i-th word after splitting.
capoperation
Capitalise
Upper-case the first letter and lower-case the rest.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to convert text case page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Convert Text Case, filed under Everyday Life. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Joined naming styles?
The formula for Joined naming styles is camelCase = first lower + rest capitalised, no separator. Split into words, keep the first in lower case, capitalise the rest, and join them with no separator. snake_case and kebab-case use the same split with a different separator and no capitals.
What units should I use with Joined naming styles?
Substitute w_i in word, cap in operation. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Joined naming styles?
Using Title Case for body text. Title Case is a headline style. Applying it to a paragraph makes the text harder to read, because every word competes for attention.