Click or drag to resize

LocalizationLogicalSort Method

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

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.32
Syntax
public static int LogicalSort(
	string string1,
	string string2
)

Parameters

string1
Type: SystemString
First string to be compared.
string2
Type: SystemString
Second string to be compared.

Return Value

Type: Int32
Returns zero if the strings are identical. Returns 1 if string1 has a greater value than string2. Returns -1 if string1 has a lesser value than string2.
Exceptions
ExceptionCondition
ArgumentNullException
See Also