CMSString Compare Method (String, String, StringComparison)Kentico 8.1 API Reference
Compares two strings. Returns an integer that indicates the relationship of the two strings to each other in the sort order.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

strA
Type: OnlineSystem String
The first string to compare
strB
Type: OnlineSystem String
The second string to compare
stringComparison
Type: OnlineSystem StringComparison
One of the enumeration values that specifies the rules to use in the comparison

Return Value

Type: OnlineInt32
See Also