Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

CompareTo

func CompareTo(other: string) -> int

Declaring type: String
Module: System
Assembly: System.Runtime.dll
Source file: String.rvn

Implements ComparableTo<String>.CompareTo

Orders canonical NFD scalar sequences, consistently with String.Compare.

Parameters

Name Type Description
other String

Return value

Int32