Comparison

Enum

For the result of uCalc string comparisons

Product: 

Class: 

Warning

uCalc API Preview Release Notice:The uCalc engine has successfully transitioned to modern cross-platform environments.The next phase envolves some structural changes, performance optimizations, and API refinements.The API is subject to breaking changes prior to the stable release. Please evaluate the preview version thoroughly before production use.

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/21/2026