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