Unicode Intrinsic Functions - Min Method

Returns the smallest string

Member of Unicode Intrinsic Functions (PRIM_LIBI.IUnicodeIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)Unicode StringThe smallest string
String1*InputUnicode StringComparison value
String2*Input (Optional)Unicode StringComparison value
String3*Input (Optional)Unicode StringComparison value
String4*Input (Optional)Unicode StringComparison value
String5*Input (Optional)Unicode StringComparison value
String6*Input (Optional)Unicode StringComparison value
String7*Input (Optional)Unicode StringComparison value
String8*Input (Optional)Unicode StringComparison value
String9*Input (Optional)Unicode StringComparison value

Details

Min compares two or more values, returning the smallest.
 
Min uses a simple code table compare. This may produce different results depending on the execution environment.

Example

In this example, where Value1, Value2 and Value3 contain "ABC," "xyz", and "123" respectively, the result would be "123" when using UTF-8
#Result := #Value1.Min( #Value2 #Value3 )

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2