GetUniqueValue

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

GetUniqueValue


 

Remove duplicate values from an array and sort it in ascending or descending order.

 


syntax

GetUniqueValue(

         &val

         [,type = ""]

         [,reverse = FALSE]

         )

 


Parameters

 

&val

 

Type:

General purpose

 

Values to remove duplicates and sort. Specify as a one-dimensional array.

 

type

 

Type:

character

 

Type specification.

"" - Automatic

"text" - Sort based on values converted to text

"number" - Sort based on the converted number

"time" - Sort by the converted time value

 

reverse

 

Type:

Boolean

 

TRUE - descending

FALSE - ascending

 

Return Value

 

 

Type:

character

 

The generated value.

 


Supported


Script Action

Browser script

×

Calculation Expression Syntax

 

 


reference