CorString: Equals

Equals

Determines whether two specified Strings have the same value.



 Public Function Equals(
	  ByRef a As String,
	  ByRef b As String,
	  Optional ByVal ComparisonType As StringComparison = StringComparison. Ordinal ) As Boolean

Parameters

a
[ByRef] String. The first string to compare.
b
[ByRef] String. The second string to compare.
ComparisonType
[ByVal] Optional. StringComparison. One of the enumeration values that specifies the rules for the comparison.  

Default: StringComparison . Ordinal

Return Values

Boolean -  True if the value of the a parameter is equal to the value of the b parameter; otherwise, False.

See Also

Project CorLib Overview

Class CorString Overview