CMSString Compare Method (String, String, StringComparison)Kentico 8.0 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.0.5239.26125)

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