String Intrinsic Functions - Max Method

Returns the largest string

Member of String Intrinsic Functions (PRIM_LIBI.IStringIntrinsics)


NameTypeData TypeDescription
Result*Result (Optional)StringValue of the largest string
String1*InputStringComparison string
String2*Input (Optional)StringComparison string
String3*Input (Optional)StringComparison string
String4*Input (Optional)StringComparison string
String5*Input (Optional)StringComparison string
String6*Input (Optional)StringComparison string
String7*Input (Optional)StringComparison string
String8*Input (Optional)StringComparison string
String9*Input (Optional)StringComparison string


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.


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 )

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2