Metrics Adda

Text cases

  • UPPER CASETHE QUICK BROWN FOX. JUMPS OVER THE LAZY DOG!
  • lower casethe quick brown fox. jumps over the lazy dog!
  • Title CaseThe Quick Brown Fox. Jumps Over The Lazy Dog!
  • Sentence caseThe quick brown fox. Jumps over the lazy dog!
  • aLtErNaTiNg cAsEThE qUiCk BrOwN fOx. JuMpS oVeR tHe LaZy DoG!

Programming cases

  • camelCasetheQuickBrownFoxJumpsOverTheLazyDog
  • PascalCaseTheQuickBrownFoxJumpsOverTheLazyDog
  • snake_casethe_quick_brown_fox_jumps_over_the_lazy_dog
  • kebab-casethe-quick-brown-fox-jumps-over-the-lazy-dog
  • CONSTANT_CASETHE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG

Common questions

  • What is the difference between camelCase and PascalCase?

    Both join the words with no separator. camelCase leaves the first word lowercase, as in myVariableName; PascalCase capitalises it too, as in MyVariableName.

  • Why does Title Case capitalise short words like “of” and “the”?

    Because style guides disagree about which words stay lowercase, and the answer changes with a word’s position in the title. Capitalising every word is at least predictable.

  • Why did “dr. smith” become “Dr. Smith” in sentence case?

    A full stop and a space look identical whether they end a sentence or an abbreviation, and telling them apart needs a dictionary. Decimals are safe: the stop in 3.50 is followed by a digit.

Other tools