Returns the smallest string
Member of Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)
Name | Type | Data Type | Description |
---|---|---|---|
Result | *Result (Optional) | Unicode String | The smallest string |
String1 | *Input | Unicode String | Comparison value |
String2 | *Input (Optional) | Unicode String | Comparison value |
String3 | *Input (Optional) | Unicode String | Comparison value |
String4 | *Input (Optional) | Unicode String | Comparison value |
String5 | *Input (Optional) | Unicode String | Comparison value |
String6 | *Input (Optional) | Unicode String | Comparison value |
String7 | *Input (Optional) | Unicode String | Comparison value |
String8 | *Input (Optional) | Unicode String | Comparison value |
String9 | *Input (Optional) | Unicode String | Comparison value |
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.
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 )
Febuary 18 V14SP2