Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 977
bvdb Avatar asked Aug 02 '15 10:08

bvdb


People also ask

What is upper and lower case called?

Letter case is the distinction between the letters that are in larger uppercase or capitals (or more formally majuscule) and smaller lowercase (or more formally minuscule) in the written representation of certain languages.

What is title case with example?

Title case is a style that is traditionally used for the titles of books, movies, songs, plays, and other works. In title case, all major words are capitalized, while minor words are lowercased. A simple example would be Lord of the Flies.

What is upper case letter?

What are uppercase letters? Uppercase letters are capital letters—the bigger, taller versions of letters (like W), as opposed to the smaller versions, which are called lowercase letters (like w). Uppercase means the same thing as capital. Uppercase letters can also be called capitals.

What is the difference between lowercase and sentence case?

APA's title case refers to a capitalization style in which most words are capitalized, and sentence case refers to a capitalization style in which most words are lowercased. In both cases, proper nouns and certain other types of words are always capitalized.


1 Answers

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.

like image 86
Glorfindel Avatar answered Sep 24 '22 08:09

Glorfindel