CMSStringCompare Method (String, String, StringComparison) |
Compares two strings. Returns an integer that indicates the relationship of the two strings to each other in the sort order.
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax public static int Compare(
string strA,
string strB,
StringComparison stringComparison
)
Parameters
- strA
- Type: SystemString
The first string to compare - strB
- Type: SystemString
The second string to compare - stringComparison
- Type: SystemStringComparison
One of the enumeration values that specifies the rules to use in the comparison
Return Value
Type:
Int32See Also