Unicode Intrinsic Functions - Max Method

Returns the largest string

Member of Unicode Intrinsic Functions (PRIM_LIBI.IUnicodeIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)Unicode StringValue of the largest string
String1*InputUnicode StringComparison string
String2*Input (Optional)Unicode StringComparison string
String3*Input (Optional)Unicode StringComparison string
String4*Input (Optional)Unicode StringComparison string
String5*Input (Optional)Unicode StringComparison string
String6*Input (Optional)Unicode StringComparison string
String7*Input (Optional)Unicode StringComparison string
String8*Input (Optional)Unicode StringComparison string
String9*Input (Optional)Unicode StringComparison 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 )

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2