Skip to content
Advertisement

Difference between uppercase and titlecase

What’s the difference between uppercase and titlecase. Frankly, I never heard of titlecase before.

In java there are seperate methods for both:

  • Character.isTitleCase(char)
  • Character.isUpperCase(char)

Some websites define it as follows:

TitleCase: Matches characters that combine an uppercase letter with a lowercase letter, such as Nj and Dz

But there must be more to it: the isTitleCase(char) method only accepts 1 character. So – if this was the case – then this method would need at least 2 characters.

Advertisement

Answer

It accepts only one Unicode character. It turns out that DŽ actually is only one character: look how it shows in monospaced font: DŽ. The titlecase version is Dž and a lowercase version dž exists as well.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement