Internationalization and localization tools


Culture-Sensitive VB.NET Method

using System

Public Shared Function Compare(String, String) As Integer

Public Shared Function Compare(String, String, Boolean) As Integer

Public Shared Function Compare(String, String, StringComparison) As Integer

Public Shared Function Compare(String, String, Boolean, CultureInfo) As Integer

Public Shared Function Compare(String, String, CultureInfo, CompareOptions) As Integer

Public Shared Function Compare(String, Int32, String, Integer, Integer) As Integer

Public Shared Function Compare(String, Int32, String, Integer, Integer, Boolean) As Integer

Public Shared Function Compare(String, Int32, String, Integer, Integer, Boolean) As Integer

Public Shared Function Compare(String, Int32, String, Integer, Integer, Boolean, CultureInfo) As Integer<

Public Shared Function Compare(String, Int32, String, Integer, Integer, CultureInfo, CompareOptions) As Integer

Internationalization (I18n) Method Overview

The Compare method compares two specified String objects, ignoring or honoring their case, and honoring culture-specific information about their formatting.

See Microsoft's MSDN online documentation for more information.

I18n Issues

Use the overload versions of this method that utilize the CultureInfo argument to ensure that sorting of non-English strings will be performed according to the Culture's rules.

Culture and Number Format Information

 

Lingoport internationalization and localization services and software