CMSString Compare Method (String, String, CultureInfo, CompareOptions)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
cui
Type: OnlineSystem.Globalization CultureInfo
An object that supplies culture-specific comparison information
options
Type: OnlineSystem.Globalization CompareOptions
Options to use when performing the comparison (such as ignoring case or symbols)

Return Value

Type: OnlineInt32
See Also