Method
Compare
func Compare(left: string, right: string) -> int
Declaring type: StringComparer
Module: System
Assembly: System.Runtime.dll
Source file: StringComparer.rvn
Implements Comparer<String>.Compare
Compares canonical, exact or simply folded scalar sequences under the selected policy.
Parameters
| Name | Type | Description |
|---|---|---|
left |
String | The first non-null string. |
right |
String | The second non-null string. |
Return value
A negative, zero or positive value according to order.