LogicalStringComparer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A string comparer that performs a logical string comparison. A logical comparison treats consecutive digits in the string as numerical content rather than text.
public class LogicalStringComparer : StringComparer
type LogicalStringComparer = class
inherit StringComparer
Public Class LogicalStringComparer
Inherits StringComparer
- Inheritance
-
LogicalStringComparer
Remarks
See https://docs.microsoft.com/en-us/windows/desktop/api/shlwapi/nf-shlwapi-strcmplogicalw.
Methods
Compare(String, Int32, Int32, String, Int32, Int32) |
Performs a logical comparison between substrings of two strings. |
Compare(String, String) |
Performs a logical comparison between two strings. |
Equals(String, Int32, Int32, String, Int32, Int32) |
Determines whether two strings are logically equal. |
Equals(String, String) |
Determines whether two strings are logically equal. |
GetHashCode(String) |
Gets the hash code for the specified string. |