CorString: CompareCultural |
Compares two specified String objects using the specified comparison options and culture-specific information to influence the comparison, and returns an integer that indicates the relationship of the two strings to each other in the sort order.
Public Function CompareCultural( ByRef StrA As String, ByRef StrB As String, ByVal Culture As CultureInfo, ByVal Options As CompareOptions ) As Long
Value | Condition |
---|---|
Less than zero | StrA is less than StrB>. |
Zero | StrA equals StrB. |
Greater than zero | StrA is greater than StrB. |