Navigation:  MCL Reference > List Functions >

ListDescItem( )

Print this Topic Previous pageReturn to chapter overviewNext page

The function is similar to the ListAscItem( ) function except that items in the item string will be sorted in descending order instead of ascending order. See ListAscItem( ) for details

 

Syntax

ListDescItem(cValueExpr,nItemNumber,cSeparator,nSortSubItem,cSubItemSeparator,cReturnType)

Or

ListDescItem(cValueExpr,nItemNumber,cSeparator,cSortExpr,cSubItemSeparator,cReturnType)

 

Returns

Character

 

Example

ListDescItem('Orange,Apple,Grape,Pear',2)

Returns 'Orange'. After sorting, the item string becomes: 'Pear,Orange,Grape,Apple'. The 2nd item is 'Orange'.

 

See also

ListAscItem( ) | ListDescVal( ) | ListAscVal( ) | ListItem( ) | ListVal( ) | ListSum( ) | ListAverage( ) | ListFilter( ) |

 

 


Page url: http://www.racematenet.com/english/help/index.html?listdescitem.htm