String Intrinsic Functions - Min Method

Returns the smallest string

Member of String Intrinsic Functions (PRIM_LIBI.IStringIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)StringThe smallest string
String1*InputStringComparison value
String2*Input (Optional)StringComparison value
String3*Input (Optional)StringComparison value
String4*Input (Optional)StringComparison value
String5*Input (Optional)StringComparison value
String6*Input (Optional)StringComparison value
String7*Input (Optional)StringComparison value
String8*Input (Optional)StringComparison value
String9*Input (Optional)StringComparison 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 )

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2