Share via


3.1.5.5 Comparing UTF-16 Strings Ordinally

To do a case-sensitive ordinal comparison of strings, a binary comparison of the UTF-16 code points of the strings is done. To do a case-insensitive ordinal string comparison, ToUpperCase (section 3.1.5.3.1) is done on each string before doing the ordinal comparison.