Comparison

Enum

For the result of uCalc string comparisons

SDK version: 

5.7.0-preview.3 8/14/2026

Product: 

Class: 

Warning

uCalc API Preview Release Notice:This preview documentation describes the intended behavior of the API. It is not fully accurate or complete.The current preview build contains incomplete features, unoptimized performance, and is subject to breaking changes.Use of the preview version in your production code is not recommended.

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

This page last modified on: 

8/7/2026