uCalc API Version: 2.1.3-preview.2 Released: 6/17/2026

Warning

uCalc API Preview Release Notice:The documentation describes the intended behavior of the API. The current preview build contains incomplete features, unoptimized performance, and is subject to breaking changes.

Comparison

Enum

Product: 

Class: 

For the result of uCalc string comparisons

Name Value Description
LessThan -1

string is less than the other string it is compared to

Equal 0

Both strings are equivalent

GreaterThan 1

string is greater than the other string it is compared to

Remarks

[topic: uCalc.String.Compare] returns a value from this Enum after comparing two strings using uCalc patterns.

Examples