Click or drag to resize

ShellUtilitiesStringCompareLogical Method

Compares two strings. Digits in the strings are considered as numerical content rather than text. This test is not case-sensitive.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static int StringCompareLogical(
	string string1,
	string string2
)

Parameters

string1
Type: SystemString
The first string.
string2
Type: SystemString
The second string.

Return Value

Type: Int32
Zero if the strings are identical, 1 if the first string has a greater value than the second string, -1 if the first string has a lesser value than the second string.
See Also