Table of Contents

Method Compare

Namespace
Alternet.Syntax.CodeCompletion
Assembly
Alternet.Syntax.v9.dll

Compare(string, string)

Compares two strings and returns a value indicating whether one is less than, equal to, or greater than the other.

public virtual int Compare(string textX, string textY)

Parameters

textX string

The first string to compare.

textY string

The second string to compare.

Returns

int

A signed integer that indicates the relative values of textX and textY.