CCalclabhub

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.

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.

SymbolMeaning
w_iWord
capCapitalise

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.