String Intrinsic Functions - Max Method
Returns the largest string
Member of String Intrinsic Functions (PRIM_LIBI.IStringIntrinsics)
Parameters
Name | Type | Data Type | Description |
|---|---|---|---|
Result | *Result (Optional) | String | Value of the largest string |
String1 | *Input | String | Comparison string |
String2 | *Input (Optional) | String | Comparison string |
String3 | *Input (Optional) | String | Comparison string |
String4 | *Input (Optional) | String | Comparison string |
String5 | *Input (Optional) | String | Comparison string |
String6 | *Input (Optional) | String | Comparison string |
String7 | *Input (Optional) | String | Comparison string |
String8 | *Input (Optional) | String | Comparison string |
String9 | *Input (Optional) | String | Comparison string |
Details
Max compares two or more values, returning the largest.
Max 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 "xyz" when using UTF-8
Result := #Value1.Max( #Value2 #Value3 )