Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
0 out of 23 rated this helpful - Rate this topic

String.Compare Method

Compares two specified String objects.

Name Description
String.Compare (String, String) Compares two specified String objects.

Supported by the .NET Compact Framework.

String.Compare (String, String, Boolean) Compares two specified String objects, ignoring or honoring their case.

Supported by the .NET Compact Framework.

String.Compare (String, String, StringComparison) Compares two specified String objects. A parameter specifies whether the comparison uses the current or invariant culture, honors or ignores case, and uses word or ordinal sort rules.

Supported by the .NET Compact Framework.

String.Compare (String, String, Boolean, CultureInfo) Compares two specified String objects, ignoring or honoring their case, and using culture-specific information to influence the comparison.

Supported by the .NET Compact Framework.

String.Compare (String, Int32, String, Int32, Int32) Compares substrings of two specified String objects.

Supported by the .NET Compact Framework.

String.Compare (String, Int32, String, Int32, Int32, Boolean) Compares substrings of two specified String objects, ignoring or honoring their case.

Supported by the .NET Compact Framework.

String.Compare (String, Int32, String, Int32, Int32, StringComparison) Compares substrings of two specified String objects.

Supported by the .NET Compact Framework.

String.Compare (String, Int32, String, Int32, Int32, Boolean, CultureInfo) Compares substrings of two specified String objects, ignoring or honoring their case, and using culture-specific information to influence the comparison.

Supported by the .NET Compact Framework.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.